Menu
Caution
Grafana Alloy is the new name for our distribution of the OTel collector. Grafana Agent has been deprecated and is in Long-Term Support (LTS) through October 31, 2025. Grafana Agent will reach an End-of-Life (EOL) on November 1, 2025. Read more about why we recommend migrating to Grafana Alloy.
Open source
How to monitor controller
The Grafana Agent Flow component controller exposes Prometheus metrics which you can use to investigate the controller state.
Metrics for the controller are exposed at the /metrics
HTTP endpoint of the Grafana Agent Flow HTTP server, which defaults to listening on http://localhost:12345
.
The documentation for the [
grafana-agent run
][grafana-agent run] command describes how to modify the address Grafana Agent Flow listens on for HTTP traffic.
The controller exposes the following metrics:
agent_component_controller_evaluating
(Gauge): Set to1
whenever the component controller is currently evaluating components. This value may be misrepresented depending on how fast evaluations complete or how often evaluations occur.agent_component_controller_running_components
(Gauge): The current number of running components by health. The health is represented in thehealth_type
label.agent_component_evaluation_seconds
(Histogram): The time it takes to evaluate components after one of their dependencies is updated.agent_component_dependencies_wait_seconds
(Histogram): Time spent by components waiting to be evaluated after one of their dependencies is updated.agent_component_evaluation_queue_size
(Gauge): The current number of component evaluations waiting to be performed.
Was this page helpful?
Related documentation
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Video
Intro to Kubernetes monitoring in Grafana Cloud
In this webinar you’ll learn how Grafana offers developers and SREs a simple and quick-to-value solution for monitoring their Kubernetes infrastructure.
Video
Optimizing Kubernetes Operations with Grafana Cloud
Join us for an insightful Grafana Cloud webinar dedicated to advanced Kubernetes monitoring techniques.
Video
Incident management with Grafana IRM & SLOS in Grafana Cloud
This webinar shows you how to prioritize critical resources through service level objective(SLO)-driven incident response and management (IRM).