Interface OtlpHttpExporterConfig
- All Superinterfaces:
OtlpExporterConfig, Prototype.Api
- All Known Implementing Classes:
OtlpHttpExporterConfig.BuilderBase.OtlpHttpExporterConfigImpl
Settings common to HTTP-based OTLP exporters.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forOtlpHttpExporterConfig.static classOtlpHttpExporterConfig.BuilderBase<BUILDER extends OtlpHttpExporterConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends OtlpHttpExporterConfig>Fluent API builder base forOtlpHttpExporterConfig. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a new fluent API builder to customize configuration.builder(OtlpHttpExporterConfig instance) Create a new fluent API builder from an existing instance.static OtlpHttpExporterConfigcreate()Create a new instance with default values.static OtlpHttpExporterConfigCreate a new instance from configuration.Optional<io.opentelemetry.sdk.common.export.ProxyOptions> Proxy options.Methods inherited from interface OtlpExporterConfig
clientTlsCertificatePem, clientTlsPrivateKeyPem, compression, connectTimeout, endpoint, headers, internalTelemetryVersion, memoryMode, meterProvider, protocol, retryPolicy, sslContext, timeout, trustedCertificatesPem, trustManagerModifier and TypeMethodDescriptionTLS certificate.TLS client key.Compression the exporter uses.Connection timeout.endpoint()Endpoint of the collector to which the exporter should transmit.headers()Headers added to each export message.Optional<io.opentelemetry.sdk.common.InternalTelemetryVersion> Self-monitoring telemetry OpenTelemetry should collect.Optional<io.opentelemetry.sdk.common.export.MemoryMode> Memory mode.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
Create a new instance with default values.- Returns:
- a new instance
-
proxyOptions
Optional<io.opentelemetry.sdk.common.export.ProxyOptions> proxyOptions()Proxy options.- Returns:
- proxy options
-