-
Notifications
You must be signed in to change notification settings - Fork 12
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
Adding cos agent relation #127
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Added a few comments but I'd also like someone else from the team to look at it as I don't have the full COS proxy context.
Most of my comments are suggesting a bit of defensive approach around parsing / saving dashboards. If you feel like that's not needed feel free to push back.
This pull request adds the
cos-agent
relation, enabling the connection of cos-proxy to a charm requiring the relation, such asgrafana-agent
. With this relation,cos-proxy
can transmit data such as metric rules, Grafana dashboards, and scrape jobs from the charms it's proxying tografana-agent
. This eliminates the need to directly connect cos-proxy to Prometheus, Grafana, etc.