Package io.smallrye.metrics
Class MPPrometheusConfig
- java.lang.Object
-
- io.smallrye.metrics.MPPrometheusConfig
-
- All Implemented Interfaces:
io.micrometer.core.instrument.config.MeterRegistryConfig
,io.micrometer.prometheus.PrometheusConfig
public class MPPrometheusConfig extends Object implements io.micrometer.prometheus.PrometheusConfig
MPPrometheusConfig is an implementation of thePrometheusConfig
which will accept Prometheus related configuration values prepended with "mp.metrics.". This Config is used for thePrometheusMeterRegistry
that is created for the MicroProfile Metric Registries inSharedMetricRegistries
. This Config is not created within theSharedMetricRegistries
due to some vendors having to load the SmallRye classes with reflection and the possibility of the Micrometer Prometheus library not being on the class path during runtime.
-
-
Constructor Summary
Constructors Constructor Description MPPrometheusConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
get(String propertyName)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-