Class MPPrometheusMeterRegistry


  • public class MPPrometheusMeterRegistry
    extends io.micrometer.prometheus.PrometheusMeterRegistry
    Cheap way of setting "scope" information with the PrometheusMeterRegistry. This is to allow the OpenMetricsExporter and JSON Exporter to scrape the appropriate PrometheusMeterRegistry when using /metrics/scope/[metric] query
    • Nested Class Summary

      • Nested classes/interfaces inherited from class io.micrometer.core.instrument.MeterRegistry

        io.micrometer.core.instrument.MeterRegistry.Config, io.micrometer.core.instrument.MeterRegistry.More
    • Field Summary

      • Fields inherited from class io.micrometer.core.instrument.MeterRegistry

        clock
    • Constructor Summary

      Constructors 
      Constructor Description
      MPPrometheusMeterRegistry​(io.micrometer.prometheus.PrometheusConfig config, String registryScope)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getScope()  
      • Methods inherited from class io.micrometer.prometheus.PrometheusMeterRegistry

        defaultHistogramConfig, getBaseTimeUnit, getPrometheusRegistry, newCounter, newDistributionSummary, newFunctionCounter, newFunctionTimer, newGauge, newLongTaskTimer, newMeter, newTimer, scrape, scrape, scrape, scrape, scrape, scrape, throwExceptionOnRegistrationFailure
      • Methods inherited from class io.micrometer.core.instrument.MeterRegistry

        clear, close, config, counter, counter, find, forEachMeter, gauge, gauge, gauge, gauge, gaugeCollectionSize, gaugeMapSize, get, getConventionName, getConventionTags, getMeters, isClosed, meterRegistrationFailed, more, newLongTaskTimer, newTimeGauge, remove, remove, removeByPreFilterId, summary, summary, timer, timer
    • Constructor Detail

      • MPPrometheusMeterRegistry

        public MPPrometheusMeterRegistry​(io.micrometer.prometheus.PrometheusConfig config,
                                         String registryScope)
    • Method Detail

      • getScope

        public String getScope()