otlp-metrics

command module
v0.0.0-...-62b18ff Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: BSD-2-Clause Imports: 12 Imported by: 0

README

OpenTelemetry Go Metrics example for Uptrace

This example shows how to configure OTLP to export metrics to Uptrace.

To run this example, you need to create an Uptrace project and pass your project DSN via UPTRACE_DSN env variable:

UPTRACE_DSN="https://<token>@uptrace.dev/<project_id>" go run main.go

To view metrics, open app.uptrace.dev and navigate to the Metrics -> Explore tab.

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