mirror of
https://github.com/prometheus/prometheus.git
synced 2026-04-07 02:05:17 -04:00
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> |
||
|---|---|---|
| .. | ||
| api | ||
| ui | ||
| federate.go | ||
| federate_test.go | ||
| web.go | ||
| web_test.go | ||