Skip to content

metrics(share/p2p): distributed tracing for shrex #2569

Open
@walldiss

Description

@walldiss

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.

Metadata

Metadata

Assignees

Labels

area:metricsRelated to measuring/collecting node metricsenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions