Registry / observability / otel-exporters-otlp-otlptrace

otel-exporters-otlp-otlptrace

JSON →
library1.44.0gogounverified

OpenTelemetry exporter for sending trace data via OTLP protocol.

go get go.opentelemetry.io/otel/exporters/otlp/otlptrace
INSTALL
IMPORT
SIG · OTEL-EXPORTERS-OTL
O
otel-exporters-otlp-otlptrace
observabilitygov1.44.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

otlptrace
go.opentelemetry.io/otel/exporters/otlp/otlptrace

Create an OTLP trace exporter and use it with a tracer provider

package main import ( "context" "go.opentelemetry.io/otel/exporters/otlp/otlptrace" "go.opentelemetry.io/otel/sdk/trace" ) func main() { exporter, _ := otlptrace.New(context.Background()) tp := trace.NewTracerProvider(trace.WithBatcher(exporter)) _ = tp }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.44.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
OpenAI (training)
1
Resources
otel-exporters-otlp-otlptrace — go get otel-exporters-otlp-otlptrace · libregistry