org.springframework.boot.actuate.metrics.export.prometheus

Class PrometheusScrapeEndpoint

  • java.lang.Object
    • org.springframework.boot.actuate.metrics.export.prometheus.PrometheusScrapeEndpoint


  • @WebEndpoint(id="prometheus")
    public class PrometheusScrapeEndpoint
    extends Object
    Endpoint that outputs metrics in a format that can be scraped by the Prometheus server.
    Since:
    2.0.0
    Author:
    Jon Schneider
    • Constructor Detail

      • PrometheusScrapeEndpoint

        public PrometheusScrapeEndpoint(io.prometheus.client.CollectorRegistry collectorRegistry)