Expand description
traceparent 入站提取与出站注入
Functions§
- extract_
from_ request - 从 axum Request 提取父上下文(便捷)
- extract_
parent - 从入站 HTTP 头提取父 trace 上下文
- inject_
reqwest - 为 reqwest 出站请求注入 trace 上下文
- inject_
response_ headers - 将当前 span 上下文写入响应头
traceparent - install_
propagator - 安装 W3C TraceContext 传播器(进程启动时调用一次)