Package io.helidon.telemetry.otelconfig
Class ViewRegistrationConfig.BuilderBase.ViewRegistrationConfigImpl
java.lang.Object
io.helidon.telemetry.otelconfig.ViewRegistrationConfig.BuilderBase.ViewRegistrationConfigImpl
- All Implemented Interfaces:
Prototype.Api,ViewRegistrationConfig
- Enclosing class:
ViewRegistrationConfig.BuilderBase<BUILDER extends ViewRegistrationConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ViewRegistrationConfig>
protected static class ViewRegistrationConfig.BuilderBase.ViewRegistrationConfigImpl
extends Object
implements ViewRegistrationConfig
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.telemetry.otelconfig.ViewRegistrationConfig
ViewRegistrationConfig.Builder, ViewRegistrationConfig.BuilderBase<BUILDER extends ViewRegistrationConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ViewRegistrationConfig> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedViewRegistrationConfigImpl(ViewRegistrationConfig.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionio.opentelemetry.sdk.metrics.AggregationAggregation for the metric view, configurable as anAggregationType:DROP, DEFAULT, SUM, LAST_VALUE, EXPLICIT_BUCKET_HISTOGRAM, BASE2_EXPONENTIAL_BUCKET_HISTOGRAM.Attribute name filter, configurable as a string compiled as a regular expression usingPattern.Cardinality limit.Metric view description.booleaninthashCode()io.opentelemetry.sdk.metrics.InstrumentSelectorInstrument selector, configurable usingInstrumentSelectorConfig.name()Metrics view name.toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.helidon.telemetry.otelconfig.ViewRegistrationConfig
view
-
Constructor Details
-
ViewRegistrationConfigImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
name
Description copied from interface:ViewRegistrationConfigMetrics view name.- Specified by:
namein interfaceViewRegistrationConfig- Returns:
- metric view name
-
description
Description copied from interface:ViewRegistrationConfigMetric view description.- Specified by:
descriptionin interfaceViewRegistrationConfig- Returns:
- metric view description
-
aggregation
public io.opentelemetry.sdk.metrics.Aggregation aggregation()Description copied from interface:ViewRegistrationConfigAggregation for the metric view, configurable as anAggregationType:DROP, DEFAULT, SUM, LAST_VALUE, EXPLICIT_BUCKET_HISTOGRAM, BASE2_EXPONENTIAL_BUCKET_HISTOGRAM.- Specified by:
aggregationin interfaceViewRegistrationConfig- Returns:
- aggregation for the metric view
-
attributeFilter
Description copied from interface:ViewRegistrationConfigAttribute name filter, configurable as a string compiled as a regular expression usingPattern.- Specified by:
attributeFilterin interfaceViewRegistrationConfig- Returns:
- attribute name filter
-
instrumentSelector
public io.opentelemetry.sdk.metrics.InstrumentSelector instrumentSelector()Description copied from interface:ViewRegistrationConfigInstrument selector, configurable usingInstrumentSelectorConfig.- Specified by:
instrumentSelectorin interfaceViewRegistrationConfig- Returns:
- instrument selector
-
cardinalityLimit
Description copied from interface:ViewRegistrationConfigCardinality limit.- Specified by:
cardinalityLimitin interfaceViewRegistrationConfig- Returns:
- cardinality limit
-
toString
-
equals
-
hashCode
public int hashCode()
-