Package io.helidon.microprofile.metrics
Class MpMetricsProgrammaticConfig
java.lang.Object
io.helidon.microprofile.metrics.MpMetricsProgrammaticConfig
- All Implemented Interfaces:
MetricsProgrammaticConfig
MP implementation of metrics programmatic settings.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.metrics.spi.MetricsProgrammaticConfig
MetricsProgrammaticConfig.Instance -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance (explicit for style checking and service loading). -
Method Summary
Modifier and TypeMethodDescriptionName to use for a tag, added to each meter's identity, conveying the application it belongs to.Default tag value to use for the scope tag if none is specified when the meter ID is created.Name to use for a tag, added to each meter's identity, conveying its scope in output.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.metrics.spi.MetricsProgrammaticConfig
apply, apply, reservedTagNames
-
Constructor Details
-
MpMetricsProgrammaticConfig
public MpMetricsProgrammaticConfig()Creates a new instance (explicit for style checking and service loading).
-
-
Method Details
-
scopeTagName
Description copied from interface:MetricsProgrammaticConfigName to use for a tag, added to each meter's identity, conveying its scope in output.- Specified by:
scopeTagNamein interfaceMetricsProgrammaticConfig- Returns:
- the scope tag name
-
appTagName
Description copied from interface:MetricsProgrammaticConfigName to use for a tag, added to each meter's identity, conveying the application it belongs to.- Specified by:
appTagNamein interfaceMetricsProgrammaticConfig- Returns:
- the app tag name
-
scopeDefaultValue
Description copied from interface:MetricsProgrammaticConfigDefault tag value to use for the scope tag if none is specified when the meter ID is created.- Specified by:
scopeDefaultValuein interfaceMetricsProgrammaticConfig- Returns:
- default scope tag value
-