opentelemetry-exporter-go
The Honeycomb OpenTelemetry Exporter for Golang
Default Exporter
The Exporter can be initialized as a default exporter:
exporter := honeycomb.NewExporter(honeycomb.Config{
ApiKey: <YOUR-API-KEY>,
Dataset: <YOUR-DATASET>,
Debug: true, // optional to output to stdout
ServiceName: "example-server",
})
defer exporter.Close()
exporter.RegisterSimpleSpanProcessor()
Sampling
Read more about sampling with Honeycomb in our docs.
Example
You can find an example Honeycomb app in /example