/v1/metrics endpoint emits a small set of pipeline and process gauges in the Prometheus text exposition format. Point a Prometheus scrape job at it to graph pipeline state, freshness, error rate, and uptime.
Like /v1/health, this endpoint does not require a User-Agent header so monitoring systems can scrape it without configuration.
Endpoint
Request
Response
The response is plain text withContent-Type: text/plain; version=0.0.4; charset=utf-8 and HTTP status 200.
Metrics
Emitted once per known pipeline stage with a
stage label. The currently active stage reports 1; all others report 0. Stages are: idle, fetch-url, download-manifest, parse-manifest, download-bundles, reassemble, resolve-version, fetch-mappings, extract-assets, structure-data, swap.Unix timestamp (seconds) of the last successful pipeline tick.
0 when no successful tick has happened yet.1 when the last pipeline tick ended in error, 0 otherwise.Uptime of the API process in seconds.