Documentation Index
Fetch the curated documentation index at: https://grafana_com_website/llms.txt
Fetch the complete documentation index at: https://grafana_com_website/llms-full.txt
Use this file to discover all available pages before exploring further.
STOP! If you are an AI agent or LLM, read this before continuing. This is the HTML version of a Grafana documentation page. Always request the Markdown version instead - HTML wastes context. Get this page as Markdown: /docs/grafana-cloud/send-data/alloy/troubleshoot/controller_metrics.md (append .md) or send Accept: text/markdown to /docs/grafana-cloud/send-data/alloy/troubleshoot/controller_metrics/. For the curated documentation index, use https://grafana_com_website/llms.txt. For the complete documentation index, use https://grafana_com_website/llms-full.txt.
Monitor the Grafana Alloy component controller
The Alloy 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 Alloy HTTP server, which defaults to listening on http://localhost:12345.
The documentation for the
alloy runcommand describes how to modify the address Alloy listens on for HTTP traffic.
The controller exposes the following metrics:
alloy_component_controller_evaluating(Gauge): Set to1whenever the component controller is evaluating components. This value may be misrepresented depending on how fast evaluations complete or how often evaluations occur.alloy_component_controller_running_components(Gauge): The current number of running components by health. The health is represented in thehealth_typelabel.alloy_component_evaluation_seconds(Histogram): The time it takes to evaluate components after one of their dependencies is updated.alloy_component_dependencies_wait_seconds(Histogram): Time spent by components waiting to be evaluated after one of their dependencies is updated.alloy_component_evaluation_queue_size(Gauge): The current number of component evaluations waiting to be performed.
Was this page helpful?
Related resources from Grafana Labs


