Package io.helidon.telemetry.otelconfig
Interface InstrumentSelectorConfig
- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
InstrumentSelectorConfig.BuilderBase.InstrumentSelectorConfigImpl
Settings for OpenTelemetry instrument selectors.
OpenTelemetry allows all values to be null, so this blueprint declares all as optional.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forInstrumentSelectorConfig.static classInstrumentSelectorConfig.BuilderBase<BUILDER extends InstrumentSelectorConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends InstrumentSelectorConfig> Fluent API builder base forInstrumentSelectorConfig. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a new fluent API builder to customize configuration.builder(InstrumentSelectorConfig instance) Create a new fluent API builder from an existing instance.static InstrumentSelectorConfigcreate()Create a new instance with default values.static InstrumentSelectorConfigDeprecated.static InstrumentSelectorConfigCreate a new instance from configuration.Meter name.Meter schema URL.Meter version.name()Instrument name.Optional<io.opentelemetry.sdk.metrics.InstrumentType> type()Instrument type.unit()Instrument unit.
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance from configuration.- Parameters:
config- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Deprecated.Create a new instance from configuration.- Parameters:
config- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Create a new instance with default values.- Returns:
- a new instance
-
type
Optional<io.opentelemetry.sdk.metrics.InstrumentType> type()Instrument type.- Returns:
- instrument type
-
name
Instrument name.- Returns:
- name
-
unit
Instrument unit.- Returns:
- instrument unit
-
meterName
Meter name.- Returns:
- meter name
-
meterVersion
Meter version.- Returns:
- meter version
-
meterSchemaUrl
Meter schema URL.- Returns:
- meter schema URL
-
create(io.helidon.config.Config)