[common/tracing] feature: report distributed tracing stat to jaeger#1226
Conversation
Start a local jaeger server and report tracing data and view it:
```
docker run -d -p6831:6831/udp -p6832:6832/udp -p16686:16686 jaegertracing/all-in-one:latest
FUSE_JAEGER=on RUST_LOG=trace cargo test
open http://localhost:16686/
```
- Add: report tracing data to opentelemetry server(jaeger) with env
`FUSE_JAEGER=on`
- Add tracing::instrument to store flight server and meta server.
- Inject tracing span to tonic request on the client side
and extract them on the server side to form a complete tracing.
- Add tracing to SledTree
|
Thanks for the contribution! Please review the labels and make any necessary changes. |
3 similar comments
|
Thanks for the contribution! Please review the labels and make any necessary changes. |
|
Thanks for the contribution! Please review the labels and make any necessary changes. |
|
Thanks for the contribution! Please review the labels and make any necessary changes. |
|
Several TODO yet:
|
Codecov Report
@@ Coverage Diff @@
## master #1226 +/- ##
=======================================
Coverage 72% 72%
=======================================
Files 464 464
Lines 27678 27997 +319
=======================================
+ Hits 20076 20354 +278
- Misses 7602 7643 +41
Continue to review full report at Codecov.
|
Wow, good-first-issue please |
|
CI Passed |
Aye |
I hereby agree to the terms of the CLA available at: https://datafuse.rs/policies/cla/
Summary
[common/tracing] feature: report distributed tracing stat to jaeger
Start a local jaeger server and report tracing data and view it:
Add: report tracing data to opentelemetry server(jaeger) with env
FUSE_JAEGER=onAdd tracing::instrument to store flight server and meta server.
Inject tracing span to tonic request on the client side
and extract them on the server side to form a complete tracing.
Add tracing to SledTree
TODO:
Changelog
New Feature
Improvement
Related Issues
#271