# Example for go-clickhouse OpenTelemetry instrumentation To run this example, you need to create `test` ClickHouse database: ```shell clickhouse-client -q "CREATE DATABASE test" ``` You can run this example with different OpenTelemetry exporters by providing environment variables. **Stdout** exporter (default): ```shell go run . ``` **Jaeger** exporter: ```shell OTEL_EXPORTER_JAEGER_ENDPOINT=http://localhost:14268/api/traces go run . ``` [Uptrace](https://github.com/uptrace/uptrace) exporter: ```shell UPTRACE_DSN="https://@uptrace.dev/" go run . ``` See [Performance and errors monitoring](https://clickhouse.uptrace.dev/guide/clickhouse-monitoring-performance.html) for details. ## Links - [Find instrumentations](https://opentelemetry.uptrace.dev/instrumentations/?lang=go) - [OpenTelemetry Go Tracing API](https://opentelemetry.uptrace.dev/guide/go-tracing.html)