Expand description
Headers that carry a caller’s ray ID and W3C trace context into an actor, shared by every Rust peer of the actor HTTP surface: the runtime that reads them and the clients that send them.
Constants§
- HEADER_
RIVET_ RAY_ ID - Bounded correlation string that follows work across actors, surviving sampling and trace-root boundaries.
- HEADER_
TRACEPARENT - HEADER_
TRACESTATE - RAY_
BAGGAGE_ KEY - W3C Baggage key that carries a ray ID through application code, so a request handler that received a ray ID can hand it to the actors it calls.
Functions§
- bounded_
ray_ id - Returns
valuewhen it is a ray ID the runtime accepts: 1 to 30 characters of[A-Za-z0-9_-]. The value arrives from a caller, so anything else counts as absent.