Interface LogRecordExporterConfig
- All Superinterfaces:
OtlpExporterConfig, Prototype.Api
- All Known Implementing Classes:
LogRecordExporterConfig.BuilderBase.LogRecordExporterConfigImpl
Settings for a log record exporter.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forLogRecordExporterConfig.static classLogRecordExporterConfig.BuilderBase<BUILDER extends LogRecordExporterConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends LogRecordExporterConfig>Fluent API builder base forLogRecordExporterConfig. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a new fluent API builder to customize configuration.builder(LogRecordExporterConfig instance) Create a new fluent API builder from an existing instance.static LogRecordExporterConfigcreate()Create a new instance with default values.static LogRecordExporterConfigCreate a new instance from configuration.type()Logger exporter type.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
-
type
-