Package io.helidon.telemetry.otelconfig
Interface OtlpExporterConfig
- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
OtlpExporterConfig.BuilderBase.OtlpExporterConfigImpl
Settings for OpenTelemetry OTLP exporters.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Fluent API builder forOtlpExporterConfig
.static class
OtlpExporterConfig.BuilderBase<BUILDER extends OtlpExporterConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends OtlpExporterConfig> Fluent API builder base forOtlpExporterConfig
. -
Method Summary
Modifier and TypeMethodDescriptionstatic OtlpExporterConfig.Builder
builder()
Create a new fluent API builder to customize configuration.static OtlpExporterConfig.Builder
builder
(OtlpExporterConfig instance) Create a new fluent API builder from an existing instance.TLS certificate.TLS client key.Compression the exporter uses.static OtlpExporterConfig
create()
Create a new instance with default values.static OtlpExporterConfig
Deprecated.static OtlpExporterConfig
Create a new instance from configuration.endpoint()
Endpoint of the collector to which the exporter should transmit.headers()
Headers added to each export message.Optional
<io.opentelemetry.api.metrics.MeterProvider> Meter provider for the exporter.protocol()
Exporter protocol type.Optional
<io.opentelemetry.sdk.common.export.RetryPolicy> Retry policy.SSL context for the exporter.timeout()
Exporter timeout.Trusted certificates.X509 trust manager for the exporter.
-
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
-
timeout
Exporter timeout.- Returns:
- exporter timeout
-
endpoint
Endpoint of the collector to which the exporter should transmit.- Returns:
- collector endpoint
-
compression
Optional<CompressionType> compression()Compression the exporter uses.- Returns:
- compression type
-
headers
Headers added to each export message.- Returns:
- added headers
-
clientTlsPrivateKeyPem
TLS client key.- Returns:
- TLS client key
-
clientTlsCertificatePem
TLS certificate.- Returns:
- TLS certificate
-
trustedCertificatesPem
Trusted certificates.- Returns:
- trusted certificates
-
retryPolicy
Optional<io.opentelemetry.sdk.common.export.RetryPolicy> retryPolicy()Retry policy.- Returns:
- retry policy
-
protocol
Optional<OtlpExporterProtocolType> protocol()Exporter protocol type.- Returns:
- exporter protocol type
-
sslContext
Optional<SSLContext> sslContext()SSL context for the exporter.- Returns:
- SSL context
-
trustManager
Optional<X509TrustManager> trustManager()X509 trust manager for the exporter.- Returns:
- X509 trust manager
-
meterProvider
Optional<io.opentelemetry.api.metrics.MeterProvider> meterProvider()Meter provider for the exporter.- Returns:
- meter provider
-
create(io.helidon.config.Config)