Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 1.1 KB

File metadata and controls

26 lines (16 loc) · 1.1 KB

OpenTelemetry-Go OTLP Span Exporter

OpenTelemetry Protocol (OTLP) Span Exporter.

To constructs a new OTLP trace Exporter, you can follow this example.

Installation

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

The otlptrace package provides an exporter implementing the OTel span exporter interface. This exporter is configured using a client satisfying the otlptrace.Client interface. This client handles the transformation of data into wire format and the transmission of that data to the collector.

The otlptracegrpc package implements a gRPC client to be used in the span exporter.

The otlptracehttp package implements a HTTP client to be used in the span exporter.