canonical / grafana-agent-operator

https://charmhub.io/grafana-agent
Apache License 2.0
4 stars 11 forks source link

fix: remove group name repetition from alerts #210

Closed lucabello closed 3 days ago

lucabello commented 3 days ago

Issue

Alert rules won't reach Prometheus because they fail validation. Specifically, the group name HostMemory is used both in oomkill.rules and in memory.rules.

Solution

Change the group name of the oomkill.rules file, so it doesn't clash with the one in memory.rules.