You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

15 lines
468 B

package trace
// Trace key
const (
// 历史遗留的 key 不要轻易修改
KeyTraceID = "x1-bilispy-id"
KeyTraceSpanID = "x1-bilispy-spanid"
KeyTraceParentID = "x1-bilispy-parentid"
KeyTraceSampled = "x1-bilispy-sampled"
KeyTraceLevel = "x1-bilispy-lv"
KeyTraceCaller = "x1-bilispy-user"
// trace sdk should use bili_trace_id to get trace info after this code be merged
BiliTraceID = "bili-trace-id"
BiliTraceDebug = "bili-trace-debug"
)