Interface OtlpPublisherConfig
- All Superinterfaces:
MetricsPublisherConfig,Prototype.Api,Prototype.Factory<OtlpPublisher>
- All Known Implementing Classes:
OtlpPublisherConfig.BuilderBase.OtlpPublisherConfigImpl
Settings for an OTLP publisher.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forOtlpPublisher.static classOtlpPublisherConfig.BuilderBase<BUILDER extends OtlpPublisherConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends OtlpPublisherConfig> Fluent API builder base forOtlpPublisherConfig. -
Method Summary
Modifier and TypeMethodDescriptionOptional<io.micrometer.registry.otlp.AggregationTemporality> Algorithm to use for adjusting values before transmission.Base time unit for timers.Number of measurements to send in a single request to the backend.static OtlpPublisherConfig.Builderbuilder()Create a new fluent API builder to customize configuration.static OtlpPublisherConfig.Builderbuilder(OtlpPublisherConfig instance) Create a new fluent API builder from an existing instance.config()Metrics configuration node.static OtlpPublisherConfigDeprecated.static OtlpPublisherConfigCreate a new instance from configuration.booleanenabled()Whether the configured publisher is enabled.headers()Headers to add to each transmission message.interval()Interval between successive transmissions of metrics data.Maximum bucket count to apply to statistical histogram.Maximum number of buckets to use for specific meters.maxScale()Maximum scale value to apply to statistical histogram.prefix()The prefix for settings.Property values to be returned by the OTLP meter registry configuration.Attribute name/value pairs to be associated with all metrics transmissions.url()URL to which to send metrics telemetry.Methods inherited from interface io.helidon.metrics.api.MetricsPublisherConfig
nameMethods inherited from interface io.helidon.builder.api.Prototype.Factory
build
-
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
-
enabled
boolean enabled()Whether the configured publisher is enabled.- Returns:
- true if enabled, false otherwise
-
prefix
The prefix for settings.- Returns:
- prefix
-
url
URL to which to send metrics telemetry.- Returns:
- backend URL
-
interval
Interval between successive transmissions of metrics data.- Returns:
- step interval
-
resourceAttributes
Attribute name/value pairs to be associated with all metrics transmissions.- Returns:
- name/value pairs of attribute settings
-
aggregationTemporality
Optional<io.micrometer.registry.otlp.AggregationTemporality> aggregationTemporality()Algorithm to use for adjusting values before transmission.- Returns:
- aggregation strategy
-
batchSize
Number of measurements to send in a single request to the backend.- Returns:
- transmission batch size
-
headers
Headers to add to each transmission message.- Returns:
- headers
-
maxScale
Maximum scale value to apply to statistical histogram.- Returns:
- maximum scale
-
maxBucketCount
Maximum bucket count to apply to statistical histogram.- Returns:
- maximum bucket count
-
maxBucketsPerMeter
Maximum number of buckets to use for specific meters.- Returns:
- meter-specific maxBucket values
-
baseTimeUnit
Base time unit for timers.- Returns:
- base time unit
-
config
Config config()Metrics configuration node.- Returns:
- metrics configuration
-
properties
Property values to be returned by the OTLP meter registry configuration.- Returns:
- properties
-
create(io.helidon.config.Config)