const.go 468 B

123456789101112131415
  1. package trace
  2. // Trace key
  3. const (
  4. // 历史遗留的 key 不要轻易修改
  5. KeyTraceID = "x1-bilispy-id"
  6. KeyTraceSpanID = "x1-bilispy-spanid"
  7. KeyTraceParentID = "x1-bilispy-parentid"
  8. KeyTraceSampled = "x1-bilispy-sampled"
  9. KeyTraceLevel = "x1-bilispy-lv"
  10. KeyTraceCaller = "x1-bilispy-user"
  11. // trace sdk should use bili_trace_id to get trace info after this code be merged
  12. BiliTraceID = "bili-trace-id"
  13. BiliTraceDebug = "bili-trace-debug"
  14. )