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

Parametrize promrule name #224

Merged
merged 9 commits into from
Sep 30, 2024
Merged

Parametrize promrule name #224

merged 9 commits into from
Sep 30, 2024

Conversation

talal
Copy link
Contributor

@talal talal commented Sep 26, 2024

Closes #150

conallprendergast and others added 8 commits September 26, 2024 08:32
* Patch metrics operatr to work with a hack

* Working with ./build/absent-metrics-operator -keep-labels service,tier -rule "{{ .Namespace }}-{{ .Name }}-absent-metrics"

* Working with ./build/absent-metrics-operator -keep-labels service,tier -rule "{{ .metadata.namespace }}-{{ .metadata.name }}-absent-metrics" 2>&1

* Clean up
This also avoids the expensive JSON roundtrip.
@majewsky majewsky merged commit ab73636 into master Sep 30, 2024
3 checks passed
@majewsky majewsky deleted the parametrize-promrule-name branch September 30, 2024 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.

Why is "prometheus" label required on PrometheusRules?
3 participants