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

Review turtles alerts labels #1218

Merged
merged 4 commits into from
Jun 10, 2024
Merged

Review turtles alerts labels #1218

merged 4 commits into from
Jun 10, 2024

Conversation

weseven
Copy link
Contributor

@weseven weseven commented Jun 6, 2024

Towards: https://github.com/giantswarm/giantswarm/issues/30934
This PR removes the labels app, node and role where possible/where it makes sense from turtles alerts.

Checklist

  • Update CHANGELOG.md
  • Request review from oncall area, as well as team (e.g: oncall-kaas-cloud GitHub group).

@weseven weseven requested review from a team June 6, 2024 10:25
@weseven weseven requested a review from a team as a code owner June 6, 2024 10:25
@@ -26,9 +26,9 @@ spec:
description: '{{`Node {{ $labels.node }} status is flapping under load.`}}'
expr: |
(
sum(node_load15{cluster_type="management_cluster", app!="vault", role!="bastion"})
sum(node_load15{cluster_type="management_cluster", service="node-exporter"})
Copy link
Contributor

Choose a reason for hiding this comment

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

Are you sure you want to be alerted for bastions as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've checked on anteater, for the bastions the service label does not have a value; could it be different for other MCs? (if so, which are the minimal test cases? Ideally I want to avoid checking every single one for label disparities 🙈 )

Copy link
Contributor

Choose a reason for hiding this comment

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

I think it's fine :)

@weseven weseven merged commit 6a20ebf into main Jun 10, 2024
7 checks passed
@weseven weseven deleted the rework-app-role-node-labels branch June 10, 2024 13:33
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.

3 participants