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