Class PrometheusEndpoint
- java.lang.Object
-
- io.streamthoughts.azkarra.metrics.endpoints.PrometheusEndpoint
-
@Path("/") public class PrometheusEndpoint extends Object
Endpoint to scrap metrics in prometheus format.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PrometheusEndpoint.PrometheusEndpointExtension
-
Constructor Summary
Constructors Constructor Description PrometheusEndpoint(io.micrometer.prometheus.PrometheusMeterRegistry registry)
Creates a newPrometheusEndpoint
instance.
-
-
-
Constructor Detail
-
PrometheusEndpoint
public PrometheusEndpoint(io.micrometer.prometheus.PrometheusMeterRegistry registry)
Creates a newPrometheusEndpoint
instance.- Parameters:
registry
- thePrometheusMeterRegistry
instance; ust bot benull
.
-
-
Method Detail
-
prometheus
@GET @Path("/prometheus") @Produces("text/plain") public String prometheus()
-
-