From b29cfa1fc3c2b60bb2d7ef964811277a331a152e Mon Sep 17 00:00:00 2001 From: rrylee Date: Fri, 15 Apr 2022 17:43:20 +0800 Subject: [PATCH] docs: discard opentracing doc, using opentelemetry Signed-off-by: rrylee --- docs/administrator/1013-operator-manual.md | 8 ++++---- docs/guides/1223-custom-buildkit.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/administrator/1013-operator-manual.md b/docs/administrator/1013-operator-manual.md index 57c0088c..cd4d9d97 100644 --- a/docs/administrator/1013-operator-manual.md +++ b/docs/administrator/1013-operator-manual.md @@ -28,17 +28,17 @@ export BUILDKIT_HOST=docker-container://super-buildkit export DOCKER_HOST=tcp://my-remote-docker-host:2376 ``` -## OpenTracing Support +## OpenTelemetry Support -Both Dagger and buildkit support opentracing. To capture traces to -[Jaeger](https://github.com/jaegertracing/jaeger), set the `JAEGER_TRACE` environment variable to the collection address. +Both Dagger and buildkit support opentelemetry. To capture traces to +[Jaeger](https://github.com/jaegertracing/jaeger), set the `OTEL_EXPORTER_JAEGER_ENDPOINT` environment variable to the collection address. A `docker-compose` file is available to help bootstrap the tracing environment: ```shell docker-compose -f ./dagger-main/tracing.compose.yaml up -d -export JAEGER_TRACE=localhost:6831 export BUILDKIT_HOST=docker-container://dagger-buildkitd-jaeger +export OTEL_EXPORTER_JAEGER_ENDPOINT=http://localhost:14268/api/traces dagger up ``` diff --git a/docs/guides/1223-custom-buildkit.md b/docs/guides/1223-custom-buildkit.md index 1323dab0..2524c83e 100644 --- a/docs/guides/1223-custom-buildkit.md +++ b/docs/guides/1223-custom-buildkit.md @@ -38,17 +38,17 @@ To run a customized Buildkit version with Docker, this can be done using the bel docker run -d --name dagger-buildkitd --privileged --network=host docker.io/moby/buildkit:latest ``` -## OpenTracing Support +## OpenTelemetry Support -Both Dagger and buildkit support opentracing. To capture traces to -[Jaeger](https://github.com/jaegertracing/jaeger), set the `JAEGER_TRACE` environment variable to the collection address. +Both Dagger and buildkit support opentelemetry. To capture traces to +[Jaeger](https://github.com/jaegertracing/jaeger), set the `OTEL_EXPORTER_JAEGER_ENDPOINT` environment variable to the collection address. A `docker-compose` file is available to help bootstrap the tracing environment: ```shell docker-compose -f ./dagger-main/tracing.compose.yaml up -d -export JAEGER_TRACE=localhost:6831 export BUILDKIT_HOST=docker-container://dagger-buildkitd-jaeger +export OTEL_EXPORTER_JAEGER_ENDPOINT=http://localhost:14268/api/traces dagger up ```