From 36b5174e6483f07c399ff964e4e71a0878685eaf Mon Sep 17 00:00:00 2001 From: Frederik Ring Date: Wed, 20 Dec 2023 12:47:57 +0100 Subject: [PATCH] fix(tf-monitoring): k8s label for api queue have changed --- tf/modules/CHANGELOG.md | 3 +++ tf/modules/monitoring/platform-summary.tf | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/tf/modules/CHANGELOG.md b/tf/modules/CHANGELOG.md index 449675aca..cd25efe1d 100644 --- a/tf/modules/CHANGELOG.md +++ b/tf/modules/CHANGELOG.md @@ -1,3 +1,6 @@ +# tf-module-monitoring-24 +- Fix log group lookup for platform summary dashboard + # tf-module-monitoring-23 - Attempt to fix logical SQL backup alerting policy (alignment period 1h -> 15m) diff --git a/tf/modules/monitoring/platform-summary.tf b/tf/modules/monitoring/platform-summary.tf index cf9027b01..a16a32f9c 100644 --- a/tf/modules/monitoring/platform-summary.tf +++ b/tf/modules/monitoring/platform-summary.tf @@ -5,7 +5,7 @@ resource "google_logging_metric" "platform-summary-metrics" { resource.type="k8s_container" resource.labels.cluster_name="${var.cluster_name}" resource.labels.namespace_name="default" - labels.k8s-pod/app_kubernetes_io/component="queue" + labels.k8s-pod/app_kubernetes_io/component="queue-default" labels.k8s-pod/app_kubernetes_io/instance="api" labels.k8s-pod/app_kubernetes_io/name="api" severity>=DEFAULT jsonPayload.platform_summary_version="v1" @@ -30,4 +30,4 @@ resource "google_logging_metric" "platform-summary-metrics" { } timeouts {} -} \ No newline at end of file +}