Package io.smallrye.metrics.setup
Class MPPrometheusMeterRegistry
- java.lang.Object
-
- io.micrometer.core.instrument.MeterRegistry
-
- io.micrometer.prometheus.PrometheusMeterRegistry
-
- io.smallrye.metrics.setup.MPPrometheusMeterRegistry
-
public class MPPrometheusMeterRegistry extends io.micrometer.prometheus.PrometheusMeterRegistryCheap 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
-
-
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 StringgetScope()-
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
-
-