Prometheus metrics scrape

1 min readEdit this page
GET
/metrics

Returns Prometheus-format metrics for ingestion by a scraper. Not intended for human callers — point Prometheus, Grafana Agent, or any OpenMetrics-compatible collector at this endpoint.

Responds 404 Not Found when the node was built or configured without a metrics renderer; scrapers can use that as a feature probe.

Response Body

text/plain

curl -X GET "https://example.com/metrics"
"string"
Empty

How is this guide?