Expand description
HTTP server for exposing Prometheus metrics
This module provides an HTTP server that exposes metrics via the /metrics endpoint
in Prometheus text format.
Structs§
- Metrics
Response - Response type for metrics endpoint (used for testing)
- Metrics
Server - HTTP server for exposing Prometheus metrics
Functions§
- metrics_
handler - Handles GET /metrics requests