opentelemetry-exporter-go

module
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2019 License: Apache-2.0

README

opentelemetry-exporter-go

The Honeycomb OpenTelemetry Exporter for Golang

CircleCI

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

Directories

Path Synopsis
example
Package honeycomb contains a trace exporter for Honeycomb
Package honeycomb contains a trace exporter for Honeycomb

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL