Class PrometheusNamingConventionConfig.BuilderBase.PrometheusNamingConventionConfigImpl
java.lang.Object
io.helidon.metrics.providers.micrometer.PrometheusNamingConventionConfig.BuilderBase.PrometheusNamingConventionConfigImpl
- All Implemented Interfaces:
Prototype.Api, PrometheusNamingConventionConfig
- Enclosing class:
PrometheusNamingConventionConfig.BuilderBase<BUILDER extends PrometheusNamingConventionConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends PrometheusNamingConventionConfig>
protected static class PrometheusNamingConventionConfig.BuilderBase.PrometheusNamingConventionConfigImpl
extends Object
implements PrometheusNamingConventionConfig
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface PrometheusNamingConventionConfig
PrometheusNamingConventionConfig.Builder, PrometheusNamingConventionConfig.BuilderBase<BUILDER, PROTOTYPE>Modifier and TypeInterfaceDescriptionstatic classFluent API builder forPrometheusNamingConventionConfig.static classPrometheusNamingConventionConfig.BuilderBase<BUILDER extends PrometheusNamingConventionConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends PrometheusNamingConventionConfig>Fluent API builder base forPrometheusNamingConventionConfig. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreate an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()Prefix to add to metric names and tag keys which do not begin with a letter; configuring this setting enables legacy simpleclient-compatible normalization, withm_reproducing the naming from earlier Helidon releases, and preserves user-supplied reserved suffixes such as_total,_created,_bucket, and_info, whereas leaving it unset uses the new Prometheus client's normalization; the prefix must be non-empty and match[A-Za-z][A-Za-z0-9_]*, and constructing the publisher fails if the value is invalid.Suffix which identifies a timer name before Prometheus adds_seconds.toString()
-
Constructor Details
-
PrometheusNamingConventionConfigImpl
protected PrometheusNamingConventionConfigImpl(PrometheusNamingConventionConfig.BuilderBase<?, ?> builder) Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
timerSuffix
Description copied from interface:PrometheusNamingConventionConfigSuffix which identifies a timer name before Prometheus adds_seconds.- Specified by:
timerSuffixin interfacePrometheusNamingConventionConfig- Returns:
- timer suffix
-
nonLetterPrefix
Description copied from interface:PrometheusNamingConventionConfigPrefix to add to metric names and tag keys which do not begin with a letter; configuring this setting enables legacy simpleclient-compatible normalization, withm_reproducing the naming from earlier Helidon releases, and preserves user-supplied reserved suffixes such as_total,_created,_bucket, and_info, whereas leaving it unset uses the new Prometheus client's normalization; the prefix must be non-empty and match[A-Za-z][A-Za-z0-9_]*, and constructing the publisher fails if the value is invalid.- Specified by:
nonLetterPrefixin interfacePrometheusNamingConventionConfig- Returns:
- non-letter prefix
-
toString
-
equals
-
hashCode
-