Class PrometheusEndpoint
java.lang.Object
io.micronaut.configuration.metrics.micrometer.prometheus.management.PrometheusEndpoint
Adds a management endpoint for Prometheus.
- Since:
- 1.1
- Author:
- graemerocher
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPrometheusEndpoint
(io.micrometer.prometheusmetrics.PrometheusMeterRegistry prometheusMeterRegistry) -
Method Summary
-
Field Details
-
ID
- See Also:
-
-
Constructor Details
-
PrometheusEndpoint
public PrometheusEndpoint(io.micrometer.prometheusmetrics.PrometheusMeterRegistry prometheusMeterRegistry) - Parameters:
prometheusMeterRegistry
- The meter registry
-
-
Method Details
-
scrape
Scrapes the data.- Returns:
- the data
-