canonical / grafana-agent-operator

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

Add `log_files` field to cos_agent interface #46

Open dstathis opened 8 months ago

dstathis commented 8 months ago

Enhancement Proposal

Currently, all logs in /var/log are tagged with the topology from grafana-agent. Therefore any alert rules defined by the client charm will not evaluate. We need a way to allow the client charm to define its own log scraping jobs that will be labeled with its topology.