For AI agents: the documentation index is at /docs/aidbox/llms.txt. A Markdown version of this page is available at /docs/aidbox/modules/observability/metrics.md or by requesting it with the Accept: text/markdown header.
Aidbox Docs

Metrics

Export metrics with OTEL spec

Aidbox supports the OpenTelemetry protocol and exports metrics in Protobuf format to any consumer that supports this specification.

Export metrics to Prometheus

Aidbox exposes Prometheus-format metrics on a dedicated metrics server (see BOX_METRICS_PORT). Available endpoints:

EndpointUpdate frequency
GET /metricsContinuous
GET /metrics/minutesEvery minute (e.g. pg_idx_scan, pg_stat_statements)
GET /metrics/hoursEvery hour (e.g. pg_table_size, jvm_max_memory_size). Response may take longer; set sufficient scraper timeout.

See Use Aidbox Metrics Server for setup and Prometheus scrape examples.

Last updated: