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