Hi!
We’re tinkering around with a grafana-agent and charm @erik-lonroth created, one thing I noticed was that the added alert rule gets a strange label implemented to it. It points to “juju_charm” which results in no query data. It should be searching for “juju_unit” instead. How do I change this? or is it a bug?
there should be such a label in the topology, and if there isn’t, that’s likely a bug. in that case, could you please report it in the grafana-agent-k8s-operator repo on github?
juju_charm is the name of the charm, regardless of what you named the application. so even if you do juju deploy observed min-fina-charm it would still be observed.
juju_unit you almost certainly don’t want in your selectors as that means that if you scale the application to multiple units, it will still only trigger on the one that matches the juju_unit.