Registry / observability / otel-exporters-otlp-otlptrace-otlptracehttp

otel-exporters-otlp-otlptrace-otlptracehttp

JSON →
library1.44.0gogounverified

Provides an OTLP span exporter using HTTP with protobuf payloads.

go get go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
INSTALL
IMPORT
SIG · OTEL-EXPORTERS-OTL
O
otel-exporters-otlp-otlptrace-otlptracehttp
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.

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

Creates a new OTLP HTTP trace exporter and shuts it down.

package main import ( "context" "go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp" ) func main() { exporter, err := otlptracehttp.New(context.Background()) if err != nil { panic(err) } defer exporter.Shutdown(context.Background()) }
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
10 hits · last 30 days
node
8
OpenAI (training)
2
Resources
otel-exporters-otlp-otlptrace-otlptracehttp — go get otel-exporters-otlp-otlptrace-otlptracehttp · libregistry