MSP-8976 Up deps

This commit is contained in:
Иван Перлов committed 2026-11-20 15:18:23 +03:00
1 parent 4ac44e6521
commit 9201106a45
603 files changed
+47715 -13202

No files matched your search

+7 -2
View File
@@ -4,6 +4,11 @@ import (
"crypto/rand"
)
const (
traceIDContextKey = "trace_id"
spanIDContextKey = "span_id"
)
type PropagationContext struct {
TraceID TraceID `json:"trace_id"`
SpanID SpanID `json:"span_id"`
@@ -13,8 +18,8 @@ type PropagationContext struct {
func (p PropagationContext) Map() map[string]interface{} {
m := map[string]interface{}{
"trace_id": p.TraceID,
"span_id": p.SpanID,
traceIDContextKey: p.TraceID,
spanIDContextKey: p.SpanID,
}
if p.ParentSpanID != zeroSpanID {