$ export HONEYCOMB_API_KEY=<YOUR-API-KEY>
$ export OTEL_METRICS_EXPORTER="none"
$ export OTEL_EXPORTER_OTLP_ENDPOINT="https://api.honeycomb.io:443"
$ export OTEL_EXPORTER_OTLP_HEADERS="x-honeycomb-team=${HONEYCOMB_API_KEY}"
$ go run main.go
sgsharma / go-otel-example Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License