Class SeMetricsProgrammaticConfig
java.lang.Object
io.helidon.metrics.api.SeMetricsProgrammaticConfig
- All Implemented Interfaces:
MetricsProgrammaticConfig
@Singleton
public class SeMetricsProgrammaticConfig
extends Object
implements MetricsProgrammaticConfig
Provides SE defaults for config values defaulted in a flavor-dependent way.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionName to use for a tag, added to each meter's identity, conveying the application it belongs to.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface MetricsProgrammaticConfig
apply, apply, reservedTagNames, scopeDefaultValue, scopeTagNameModifier and TypeMethodDescriptiondefault MetricsConfigapply(MetricsConfig metricsConfig) Creates a newMetricsConfiginstance by applying overrides from this programmatic config instance.default MetricsConfig.Builderapply(MetricsConfig.Builder builder) Augments an existingMetricsConfig.Builder, presumably from actual config, with overrides provided by this programmatic config instance.Returns the reserved tag name for the app, if configured.Deprecated, for removal: This API element is subject to removal in a future version.Core metrics ignores this value, and this method will be removed.Deprecated, for removal: This API element is subject to removal in a future version.Core metrics ignores this value, and this method will be removed.
-
Constructor Details
-
SeMetricsProgrammaticConfig
public SeMetricsProgrammaticConfig()Required public constructor forServiceLoader.
-
-
Method Details
-
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
-