-
Notifications
You must be signed in to change notification settings - Fork 86
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
Added Mimir / Loki Rules Sync Support #568
base: main
Are you sure you want to change the base?
Conversation
055641b
to
bbe8424
Compare
I might resurrect this, but I think I might combine |
Signed-off-by: Pete Wall <[email protected]>
76812dd
to
f9f8b4f
Compare
Signed-off-by: Pete Wall <[email protected]>
Signed-off-by: Pete Wall <[email protected]>
Signed-off-by: Pete Wall <[email protected]>
Signed-off-by: Pete Wall <[email protected]>
I am curious about the progress of this and whether this will be supported in the near future. Right now there is almost no option to use prometheus rule crd for alerting with a k8s-monitoring and mimir setup. Plus, it is also hard to manage mimir rules inside helm chart, which makes this PR important |
@luong-komorebi - repoURL: https://grafana.github.io/helm-charts
chart: alloy
targetRevision: 0.6.1
helm:
releaseName: alloy-prometheusrules
ignoreMissingValueFiles: true
valueFiles:
- $values/argocd-apps/clusters/monitoring/k8s-monitoring/values/prometheusrules.yaml
- $values/argocd-apps/clusters/monitoring/k8s-monitoring/values/prometheusrules-{{ metadata.labels.environment }}.yaml
valuesObject:
agent:
extraEnv:
- name: CLUSTER
value: "{{ metadata.labels.environment }}" prometheusrules.yaml
That's working perfectly with mimir and prometheusrules from each cluster, but I appreciate having this integrated into k8s-monitoring directly 🤩 |
@stefanandres awesome to hear your suggested workaround. Thank you for that While I would love to discuss more on different ways to avoid this blocker, this PR would become offtopic. |
Resolves #564