prometheus/web/api
Julius Volz 9937c5f9eb Add API endpoint for getting Prometheus' metrics about itself
This adds a /api/v1/status/self_metrics endpoint that allows the frontend to
fetch metrics about the server itself, making it easier to construct frontend
pages that show the current server state. This is needed because fetching
metrics from its own /metrics endpoint would be both hard to parse and also
require CORS permissions on that endpoint (for cases where the frontend
dashboard is not the same origin, at least).

Signed-off-by: Julius Volz <julius.volz@gmail.com>
2026-03-31 12:30:35 +02:00
..
testhelpers chore: fix httpNoBody issues from gocritic 2026-03-02 20:06:30 +01:00
v1 Add API endpoint for getting Prometheus' metrics about itself 2026-03-31 12:30:35 +02:00