Skip to content

Commit

Permalink
fix(tf-monitoring): k8s labels for api queue have changed
Browse files Browse the repository at this point in the history
  • Loading branch information
m90 committed Dec 20, 2023
1 parent 4d6c5d4 commit 5cde1e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions tf/modules/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
4 changes: 2 additions & 2 deletions tf/modules/monitoring/platform-summary.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -30,4 +30,4 @@ resource "google_logging_metric" "platform-summary-metrics" {
}

timeouts {}
}
}

0 comments on commit 5cde1e8

Please sign in to comment.