Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tf-monitoring): k8s labels for api queue have changed #1332

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

m90
Copy link
Contributor

@m90 m90 commented Dec 20, 2023

Platform stats went missing since shipping #1329 as the deployment objects now have different labels, and the query in this module would yield no results.

@@ -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"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if it would make sense to start using a variable here. Maybe yes, as we'll soon move the job to a dedicated job, changing the name again.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I personally still think this is fine to hardcode here; sure we'll move it soon but probably repeatedly after that

@m90 m90 changed the title fix(tf-monitoring): k8s label for api queue have changed fix(tf-monitoring): k8s labels for api queue have changed Dec 20, 2023
@m90 m90 force-pushed the fr/fix-ps-dashboard branch from 36b5174 to 5cde1e8 Compare December 20, 2023 12:24
@m90 m90 merged commit a33370f into main Dec 20, 2023
2 checks passed
@m90 m90 deleted the fr/fix-ps-dashboard branch December 20, 2023 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants