celestiaorg / celestiaorg/celestia-node

metrics(share/p2p): distributed tracing for shrex

Open
#2,569 1 comment 0 reactions 1 assignee Claimed by @vgonkivs View on GitHub
area:metrics enhancement
Dominant language
Go
Stars
996
Forks
1.1k
Avg merge
1d 6h
Merged PRs (30d)
34

Description

### Implementation ideas

Span info could be transferred over wire allowing to track results of individual traces across distributed network. It is very powerful tool for monitoring and debugging distributed system and we can utilise it in node. In order for this feature to work, tracing exporting should happen from both client and server and to be collected to the same jaeger.

Implementation idea
Add option to support distributed tracing on both client and server.
- If option is enabled on client side:
- client should append additional optional tracing info to the request
- If option is enabled on server side :
- server should extract tracing info
- enrich it with local attributes (node type, peerID etc...)
- use it for internal calls
- export tracing info to jaeger.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.