mirror of
https://github.com/kopia/kopia.git
synced 2026-03-19 22:56:29 -04:00
New flag `--enable-jaeger-collector` and the corresponding `KOPIA_ENABLE_JAEGER_COLLECTOR` environment variable enables Jaeger exporter, which by default sends OTEL traces to Jaeger collector on http://localhost:14268/api/traces To change this, use environment variables: * `OTEL_EXPORTER_JAEGER_ENDPOINT` * `OTEL_EXPORTER_JAEGER_USER` * `OTEL_EXPORTER_JAEGER_PASSWORD` When tracing is disabled, the impact on performance is negligible. To see this in action: 1. Download latest Jaeger all-in-one from https://www.jaegertracing.io/download/ 2. Run `jaeger-all-in-one` binary without any parameters. 3. Run `kopia --enable-jaeger-collector snapshot create ...` 4. Go to http://localhost:16686/search and search for traces