Pre-1.0 · one maintainer · Stripe and cards only · no SDKs (client libraries) yet · no production users yet. Docs describe v0.9.1 (29 Oct 2026) · What’s new →
Prometheus metrics
GET
/metrics
const url = 'http://localhost:8080/metrics';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8080/metrics \ --header 'Authorization: Bearer <token>'Metrics in the Prometheus text format, for a Prometheus scrape.
When METRICS_TOKEN is set, send it as a Bearer token. When it is
not set, the route is open, except with APP_ENV=production, where
it answers 401. This is not an API key route.
Authorizations
Section titled “Authorizations”- MetricsToken
- None
Responses
Section titled “Responses”Metrics in the Prometheus text format.
Media typetext/plain
string
The token is missing or wrong, or METRICS_TOKEN is not set in production. The body is the plain text unauthorized.
Media typetext/plain
string