@WebEndpoint(id="prometheus") public class PrometheusScrapeEndpoint extends Object
@Endpoint
that outputs metrics in a format that can be scraped by the
Prometheus server.Constructor and Description |
---|
PrometheusScrapeEndpoint(io.prometheus.client.CollectorRegistry collectorRegistry) |