For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.
Control plane metrics
View and reference control plane metrics that are emitted by the agentgateway controller.
The agentgateway control plane exposes Prometheus-compatible metrics on port 9092. The metrics track resource reconciliation counts and XDS synchronization with the proxy.
Control plane metrics cannot be customized. To set up automatic scraping of these metrics with Prometheus, see Enable metrics scraping.
View control plane metrics
Port-forward the control plane deployment.
kubectl port-forward -n agentgateway-system deployment/agentgateway 9092:9092Query the metrics endpoint.
curl http://localhost:9092/metricsEnable metrics scraping for control plane metrics with the OTel stack so that you can export and visualize metrics in monitoring tools, such as Prometheus and Grafana. For more information, see Scrape metrics for querying and visualization.
Control plane metrics reference
Review the metrics that are emitted by the agentgateway control plane.
| Name | Type | Labels | Help |
|---|---|---|---|
| agentgateway_controller_reconcile_duration_seconds | histogram | controller, name, namespace | Reconcile duration for controller |
| agentgateway_controller_reconciliations_running | gauge | controller, name, namespace | Number of reconciliations currently running |
| agentgateway_controller_reconciliations_total | counter | controller, name, namespace, result | Total number of controller reconciliations |
| agentgateway_xds_auth_rq_failure_total | counter | Total number of failed xDS auth requests | |
| agentgateway_xds_auth_rq_success_total | counter | Total number of successful xDS auth requests | |
| agentgateway_xds_auth_rq_total | counter | Total number of xDS auth requests | |
| agentgateway_xds_cert_expiry_seconds | gauge | Expiry timestamp (Unix seconds) of the current xDS serving certificate | |
| agentgateway_xds_cert_rotation_errors_total | counter | Total number of failed xDS certificate rotations | |
| agentgateway_xds_cert_rotation_total | counter | Total number of successful xDS certificate rotations | |
| agentgateway_xds_rejects_total | counter | Total number of xDS responses rejected by agentgateway proxy |