eclipse-uprotocol / up-rust

uProtocol Language Specific Library for Rust
Apache License 2.0
9 stars 8 forks source link

Support adding traceparent to UMessage #129

Closed sophokles73 closed 2 weeks ago

sophokles73 commented 2 weeks ago

UMessageBuilder has been extended to support setting a W3C Trace Context identifier to convey in a message.

Fixes #128

AnotherDaniel commented 2 weeks ago

Out of interest - quoting the W3C Spec:

At a minimum they MUST propagate the traceparent and tracestate headers and guarantee traces are not broken. This behavior is also referred to as forwarding a trace.

So shouldn't we also add a tracestate field?