Class MetricsHandler
Object
MetricsHandler
- All Implemented Interfaces:
HttpHandler
Handler for the /metrics endpoint
-
Constructor Summary
ConstructorDescriptionMetricsHandler
(PrometheusProperties config) MetricsHandler
(PrometheusProperties config, PrometheusRegistry registry) MetricsHandler
(PrometheusRegistry registry) -
Method Summary
-
Constructor Details
-
MetricsHandler
public MetricsHandler() -
MetricsHandler
-
MetricsHandler
-
MetricsHandler
-
-
Method Details
-
handle
- Specified by:
handle
in interfaceHttpHandler
- Throws:
IOException
-