Skip to main content
GET
Prometheus metrics
Returns all platform metrics in Prometheus text exposition format.

Authentication

Protected by METRICS_SECRET. Pass the secret as:
  • Query parameter: ?key=your-secret
  • Header: X-Metrics-Key: your-secret
If METRICS_SECRET is not set, the endpoint is open (not recommended for production).

Included metrics

Counters: Gauges (from DB, cached 30s): Histograms: Gauge (live):

Query Parameters

key
string

Metrics secret key (alternative to X-Metrics-Key header)

Response

Prometheus text format metrics

The response is of type string.