You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The coordinator should run Grafana Agent in a sidecar container.
The agent should scrape the workers related to the coordinator at the addresses that are already communicated via the mimir_cluster interface.
The Mimir coordinator should implement the Prometheus send-remote-write relation so that the sidecar Grafana Agent can remote write those metrics somewhere.
dashboards and alerts are sent to Grafana Agent just like any other charm does;
metrics are supported over the metrics_scrape relation; the coordinator charm will configure a scrape job for itself and for all the workers (getting the URLs from the mimir-cluster relation data);
logs are supported over the logging relation; Grafana Agent needs to send the endpoint to push to over relation data to the coordinator, which then forwards it to the workers through the mimir-cluster relation. The workers should use Pebble log forwarding to push logs to that endpoint;
receiving remote write is supported through the receive-remote-write relation, and should exist to allow for internal metrics (and potentially anything else) to be written back into Mimir from the Grafana Agent.
Having a separate Grafana agent has some pros:
code changes are simpler (more isolated) because no replication is needed;
separate the nginx and Grafana Agent load.
The text was updated successfully, but these errors were encountered:
Enhancement Proposal
The coordinator should run Grafana Agent in a sidecar container.The agent should scrape the workers related to the coordinator at the addresses that are already communicated via themimir_cluster
interface.The Mimir coordinator should implement the Prometheussend-remote-write
relation so that the sidecar Grafana Agent can remote write those metrics somewhere.External Grafana Agent
Describing the self-monitoring more in detail:
metrics_scrape
relation; the coordinator charm will configure a scrape job for itself and for all the workers (getting the URLs from themimir-cluster
relation data);logging
relation; Grafana Agent needs to send the endpoint to push to over relation data to the coordinator, which then forwards it to the workers through themimir-cluster
relation. The workers should use Pebble log forwarding to push logs to that endpoint;receive-remote-write
relation, and should exist to allow for internal metrics (and potentially anything else) to be written back into Mimir from the Grafana Agent.Having a separate Grafana agent has some pros:
The text was updated successfully, but these errors were encountered: