MSP-8299 vendor update

This commit is contained in:
ziminis committed 2026-11-27 20:10:32 +07:00
1 parent c8e4a014a0
commit 59d487646c
607 files changed
+48706 -13176

No files matched your search

+4 -4
View File
@@ -551,7 +551,7 @@ func (s *Span) updateFromBaggage(header []byte) {
func (s *Span) clientOptions() *ClientOptions {
client := hubFromContext(s.ctx).Client()
if client != nil {
if client.IsEnabled() {
return &client.options
}
return &ClientOptions{}
@@ -933,8 +933,8 @@ type TraceContext struct {
func (tc TraceContext) Map() map[string]interface{} {
m := map[string]interface{}{
"trace_id": tc.TraceID,
"span_id": tc.SpanID,
traceIDContextKey: tc.TraceID,
spanIDContextKey: tc.SpanID,
}
if tc.ParentSpanID != [8]byte{} {
@@ -1202,7 +1202,7 @@ func HTTPtoSpanStatus(code int) SpanStatus {
}
func shouldContinueTrace(client *Client, dsc DynamicSamplingContext) bool {
if client == nil {
if !client.IsEnabled() {
return true
}