Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 952 Bytes

File metadata and controls

30 lines (18 loc) · 952 Bytes

OpenTelemetry-Go OTLP Span Exporter

OpenTelemetry Protocol (OTLP) Span Exporter.

To constructs a new Otlptrace Exporter and starts it:

exp, err := otlptrace.New(ctx, opts...)

Installation

go get -u go.opentelemetry.io/otel/exporters/otlp/otlptrace

otlptrace package implements a span exporter that uses a otlptrace.Client interface.

otlptrace.Client manages connections to the collector, handles the transformation of data into wire format, and the transmission of that data to the collector.

The otlptracegrpc package implements a gRPC span exporter.

The otlptracehttp package implements a HTTP span exporter.