Uses of Class
io.opentelemetry.exporter.otlp.http.logs.OtlpHttpLogRecordExporterBuilder
Packages that use OtlpHttpLogRecordExporterBuilder
Package
Description
OpenTelemetry exporter which sends log data to OpenTelemetry collector via OTLP HTTP.
-
Uses of OtlpHttpLogRecordExporterBuilder in io.opentelemetry.exporter.otlp.http.logs
Methods in io.opentelemetry.exporter.otlp.http.logs that return OtlpHttpLogRecordExporterBuilderModifier and TypeMethodDescriptionAdd a constant header to requests.OtlpHttpLogRecordExporter.builder()
Returns a new builder instance for this exporter.OtlpHttpLogRecordExporterBuilder.setClientTls
(byte[] privateKeyPem, byte[] certificatePem) Sets ths client key and the certificate chain to use for verifying client when TLS is enabled.OtlpHttpLogRecordExporterBuilder.setCompression
(String compressionMethod) Sets the method used to compress payloads.OtlpHttpLogRecordExporterBuilder.setConnectTimeout
(long timeout, TimeUnit unit) Sets the maximum time to wait for new connections to be established.OtlpHttpLogRecordExporterBuilder.setConnectTimeout
(Duration timeout) Sets the maximum time to wait for new connections to be established.OtlpHttpLogRecordExporterBuilder.setEndpoint
(String endpoint) Sets the OTLP endpoint to connect to.OtlpHttpLogRecordExporterBuilder.setHeaders
(Supplier<Map<String, String>> headerSupplier) Set the supplier of headers to add to requests.OtlpHttpLogRecordExporterBuilder.setMemoryMode
(MemoryMode memoryMode) Set theMemoryMode
.OtlpHttpLogRecordExporterBuilder.setMeterProvider
(MeterProvider meterProvider) Sets theMeterProvider
to use to collect metrics related to export.OtlpHttpLogRecordExporterBuilder.setMeterProvider
(Supplier<MeterProvider> meterProviderSupplier) Sets theMeterProvider
supplier used to collect metrics related to export.OtlpHttpLogRecordExporterBuilder.setProxyOptions
(ProxyOptions proxyOptions) Sets the proxy options.OtlpHttpLogRecordExporterBuilder.setRetryPolicy
(RetryPolicy retryPolicy) Set the retry policy, ornull
to disable retry.OtlpHttpLogRecordExporterBuilder.setSslContext
(SSLContext sslContext, X509TrustManager trustManager) Sets the "bring-your-own" SSLContext for use with TLS.OtlpHttpLogRecordExporterBuilder.setTimeout
(long timeout, TimeUnit unit) Sets the maximum time to wait for the collector to process an exported batch of logs.OtlpHttpLogRecordExporterBuilder.setTimeout
(Duration timeout) Sets the maximum time to wait for the collector to process an exported batch of logs.OtlpHttpLogRecordExporterBuilder.setTrustedCertificates
(byte[] trustedCertificatesPem) Sets the certificate chain to use for verifying servers when TLS is enabled.OtlpHttpLogRecordExporter.toBuilder()
Returns a builder with configuration values equal to those for this exporter. -
Uses of OtlpHttpLogRecordExporterBuilder in io.opentelemetry.exporter.otlp.internal
Methods in io.opentelemetry.exporter.otlp.internal that return OtlpHttpLogRecordExporterBuilderModifier and TypeMethodDescription(package private) OtlpHttpLogRecordExporterBuilder
OtlpLogRecordExporterComponentProvider.httpBuilder()
(package private) OtlpHttpLogRecordExporterBuilder
OtlpLogRecordExporterProvider.httpBuilder()