Categorygo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
modulepackage
1.35.0
Repository: https://github.com/open-telemetry/opentelemetry-go.git
Documentation: pkg.go.dev

# README

OTLP Metric gRPC Exporter

PkgGoDev

# Functions

New returns an OpenTelemetry metric Exporter.
Version is the current release version of the OpenTelemetry OTLP over gRPC metrics exporter in use.
WithAggregationSelector sets the AggregationSelector the client will use to determine the aggregation to use for an instrument based on its kind.
WithCompressor sets the compressor the gRPC client uses.
WithDialOption sets explicit grpc.DialOptions to use when establishing a gRPC connection.
WithEndpoint sets the target endpoint the Exporter will connect to.
WithEndpointURL sets the target endpoint URL the Exporter will connect to.
WithGRPCConn sets conn as the gRPC ClientConn used for all communication.
WithHeaders will send the provided headers with each gRPC requests.
WithInsecure disables client transport security for the Exporter's gRPC connection, just like grpc.WithInsecure() (https://pkg.go.dev/google.golang.org/grpc#WithInsecure) does.
WithReconnectionPeriod set the minimum amount of time between connection attempts to the target endpoint.
WithRetry sets the retry policy for transient retryable errors that are returned by the target endpoint.
WithServiceConfig defines the default gRPC service config used.
WithTemporalitySelector sets the TemporalitySelector the client will use to determine the Temporality of an instrument based on its kind.
WithTimeout sets the max amount of time an Exporter will attempt an export.
WithTLSCredentials sets the gRPC connection to use creds.

# Structs

Exporter is a OpenTelemetry metric Exporter using gRPC.

# Interfaces

Option applies a configuration option to the Exporter.

# Type aliases

RetryConfig defines configuration for retrying the export of metric data that failed.