Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(jaeger): update the doc how to use jaeger #6474

Merged
merged 1 commit into from
Jul 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions common/tracing/src/logging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ static GLOBAL_UT_LOG_GUARD: Lazy<Arc<Mutex<Option<Vec<WorkerGuard>>>>> =
/// A local tracing collection(maybe for testing) can be done with a local jaeger server.
/// To report tracing data and view it:
/// docker run -d -p6831:6831/udp -p6832:6832/udp -p16686:16686 jaegertracing/all-in-one:latest
/// DATABEND_JAEGER=on RUST_LOG=trace cargo test
/// DATABEND_JAEGER_AGENT_ENDPOINT=localhost:6831 RUST_LOG=trace cargo test
/// open http://localhost:16686/
///
/// To adjust batch sending delay, use `OTEL_BSP_SCHEDULE_DELAY`:
/// DATABEND_JAEGER=on RUST_LOG=trace OTEL_BSP_SCHEDULE_DELAY=1 cargo test
/// DATABEND_JAEGER_AGENT_ENDPOINT=localhost:6831 RUST_LOG=trace OTEL_BSP_SCHEDULE_DELAY=1 cargo test
///
// TODO(xp): use DATABEND_JAEGER to assign jaeger server address.
// TODO(xp): use DATABEND_JAEGER_AGENT_ENDPOINT to assign jaeger server address.
pub fn init_global_tracing(
app_name: &str,
dir: &str,
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/100-faq/20-how-to-tracing.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ Jun 10 16:40:36.168 DEBUG ThreadId(309) databend_query::pipelines::transforms::t
### Start Databend

```
LOG_LEVEL=DEBUG ./databend-query
DATABEND_JAEGER_AGENT_ENDPOINT=localhost:6831 ./databend-query
```

### Start jaeger
Expand Down