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
ConstructorDescriptionCreates 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, wait
Methods 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:MetricsProgrammaticConfig
Name to use for a tag, added to each meter's identity, conveying its scope in output.- Specified by:
scopeTagName
in interfaceMetricsProgrammaticConfig
- Returns:
- the scope tag name
-
appTagName
Description copied from interface:MetricsProgrammaticConfig
Name to use for a tag, added to each meter's identity, conveying the application it belongs to.- Specified by:
appTagName
in interfaceMetricsProgrammaticConfig
- Returns:
- the app tag name
-
scopeDefaultValue
Description copied from interface:MetricsProgrammaticConfig
Default tag value to use for the scope tag if none is specified when the meter ID is created.- Specified by:
scopeDefaultValue
in interfaceMetricsProgrammaticConfig
- Returns:
- default scope tag value
-