mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
feat(telemetry): add cross-node trace context propagation
Wire trace context into P2P message flow so distributed traces link across nodes. TX relay injects SpanGuard context via PropagationHelpers.h; consensus propose/validate injects via TraceContextPropagator.h. Receive-side extraction in PeerImp creates child spans for proposals and validations. - Add TraceBytes struct and SpanGuard::getTraceBytes() for extracting raw trace context without OTel type dependencies - Add PropagationHelpers.h: injectSpanContext(SpanGuard, proto) - Add ConsensusReceiveTracing.h: proposalReceiveSpan(), validationReceiveSpan() with parent context extraction - NetworkOPs::apply(): inject tx.process context before relay - RCLConsensus::propose()/validate(): inject active span context - PeerImp: create receive spans for proposals and validations with sender's trace context as parent Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -20,7 +20,7 @@ Loop: xrpld.app xrpld.shamap
|
||||
xrpld.shamap > xrpld.app
|
||||
|
||||
Loop: xrpld.app xrpld.telemetry
|
||||
xrpld.telemetry == xrpld.app
|
||||
xrpld.telemetry ~= xrpld.app
|
||||
|
||||
Loop: xrpld.overlay xrpld.rpc
|
||||
xrpld.rpc ~= xrpld.overlay
|
||||
|
||||
Reference in New Issue
Block a user