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

Add mimir enabled flag #1053

Merged
merged 16 commits into from
Mar 5, 2024
Merged

Add mimir enabled flag #1053

merged 16 commits into from
Mar 5, 2024

Conversation

QuentinBisson
Copy link
Contributor

Before adding a new alerting rule into this repository you should consider creating an SLO rules instead.
SLO helps you both increase the quality of your monitoring and reduce the alert noise.


Towards: giantswarm/roadmap#3157

This PR adds the mimir.enabled flag for a preparation to mimir migration and do a whole bunch of really small fixes

Checklist

@QuentinBisson QuentinBisson self-assigned this Mar 5, 2024
@QuentinBisson QuentinBisson requested a review from a team as a code owner March 5, 2024 15:11
Copy link
Contributor

@hervenicol hervenicol left a comment

Choose a reason for hiding this comment

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

The comment makes sense when reading the PR, but may not make sense when reading the files in a few months / weeks.

apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
creationTimestamp: null
labels:
{{- include "labels.common" . | nindent 4 }}
{{- if not .Values.mimir.enabled }}
Copy link
Contributor

Choose a reason for hiding this comment

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

This file is only for vintage clusters; I guess we don't need the condition then?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well that's true but i'm not sure if phoenix will not add CAPI ones here

QuentinBisson and others added 13 commits March 5, 2024 16:27
Copy link
Contributor

@hervenicol hervenicol left a comment

Choose a reason for hiding this comment

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

LGTM.
It could be nice to link to this issue when doing the changes in our config.

@QuentinBisson
Copy link
Contributor Author

@QuentinBisson QuentinBisson enabled auto-merge (squash) March 5, 2024 21:14
@QuentinBisson QuentinBisson merged commit 95a434e into master Mar 5, 2024
6 checks passed
@QuentinBisson QuentinBisson deleted the add-mimir-enabled-flag branch March 5, 2024 21:14
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