Initial commit

This commit is contained in:
Donny
2019-04-22 20:46:32 +08:00
commit 49ab8aadd1
25441 changed files with 4055000 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
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"
)