Expand description
API tracing utilities for both client and server. This module provides API tracing utilities for both client and server, including constants and fns which help keep client and server consistent.
Structs§
- TraceId
- A
TraceIdidentifies a tree of requests sharing a single causal source as it travels between different Lexe services.
Statics§
- GET_
TRACE_ ID_ FN - A function pointer to a fn which attempts to extract a
TraceIdfrom theExtensionsof the given span or any of its parents. - INSERT_
TRACE_ ID_ FN - Like
GET_TRACE_ID_FN, but inserts aTraceIdinto theExtensionsof a given span, returning the replacedTraceIdif it existed.