Skip to content

Commit

Permalink
Merge pull request #6474 from sandflee/jaeger
Browse files Browse the repository at this point in the history
docs(jaeger): update the doc how to use jaeger
  • Loading branch information
BohuTANG authored Jul 5, 2022
2 parents cb42a68 + 36d7933 commit 78c725c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

1 comment on commit 78c725c

@vercel
Copy link

@vercel vercel bot commented on 78c725c Jul 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

databend – ./

databend-git-main-databend.vercel.app
databend.vercel.app
databend.rs
databend-databend.vercel.app

Please sign in to comment.