1
0
mirror of https://github.com/uptrace/go-clickhouse.git synced 2025-07-03 00:27:03 +02:00
Files
go-clickhouse/example/opentelemetry/README.md
Vladimir Mihailenco 1811fd4848 chore: update readme
2022-04-13 16:46:39 +03:00

777 B

Example for go-clickhouse OpenTelemetry instrumentation

See Performance and errors monitoring for details.

You can run this example with different OpenTelemetry exporters by providing environment variables.

Stdout exporter (default):

go run .

Jaeger exporter:

OTEL_EXPORTER_JAEGER_ENDPOINT=http://localhost:14268/api/traces go run .

Uptrace exporter:

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