Metrics
See Deploy → Metrics for why this endpoint is unauthenticated and where to firewall it.
GET /metrics — mounted at the server root, not under /api
Section titled “GET /metrics — mounted at the server root, not under /api”This is GET https://your-instance/metrics, not
/api/metrics** — the one endpoint in this whole reference that isn't under the /apiprefix every other page assumes. Deliberately unauthenticated (Prometheus's own scraping convention: firewall the port, don't invent a second auth scheme); not subject to the/apirate limiter; never appears in_logs`.
# HELP cratebase_http_requests_total Total HTTP requests, by method and status.# TYPE cratebase_http_requests_total countercratebase_http_requests_total{method="GET",status="200"} 42
# HELP cratebase_http_request_duration_seconds Request latency in seconds.# TYPE cratebase_http_request_duration_seconds histogramcratebase_http_request_duration_seconds_bucket{le="0.005"} 10cratebase_http_request_duration_seconds_bucket{le="+Inf"} 42cratebase_http_request_duration_seconds_sum 3.14cratebase_http_request_duration_seconds_count 42
# HELP cratebase_http_errors_total Total requests answered with a 4xx or 5xx status.# TYPE cratebase_http_errors_total countercratebase_http_errors_total 1Three metrics total: cratebase_http_requests_total (counter, labelled
method/status), cratebase_http_request_duration_seconds
(histogram), cratebase_http_errors_total (counter, every 4xx/5xx).