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