Operations
Prometheus metrics (absent when OHS_METRICS=false)
GET
Instance wide counters, never per-tenant data. On the API listener a
scrape presents the OHS_METRICS_TOKEN bearer token; with no token
configured every scrape is refused with 403. With
OHS_METRICS_LISTEN set the route moves to that address (404 here),
where the token is asked for only when set.
metricsTokenheader
AuthorizationBearer <token>The instance's OHS_METRICS_TOKEN, for Prometheus scrapes of /metrics.
Prometheus text exposition format 0.0.4.
response?stringtext/plaincurl -X GET 'http://localhost:8080/metrics'"string"