golang-otlp

command module
v0.0.0-...-578eb1f Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

README

Honeycomb OpenTelemetry OTLP example

This is a simple golang web app that uses OpenTelemetry to generate trace data and send to Honeycomb using the OTLP exporter.

Run the web app and pass in your API key and dataset as environment variables:

HONEYCOMB_API_KEY=<your-api-key> HONEYCOMB_DATASET=<your-dataset> go run main.go

Next, open http://localhost:8080 to generate some trace data that will be visble in the Honeycomb UI.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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