OpenTelemetry Protocol (OTLP) Span Exporter.
To constructs a new OTLP trace Exporter, you can follow this
example
.
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.