MCPcopy Create free account
hub / github.com/buggregator/server / spanID

Method spanID

modules/sentry/types.go:272–277  ·  view source on GitHub ↗

spanID extracts span_id from contexts.trace if available.

()

Source from the content-addressed store, hash-verified

270
271// spanID extracts span_id from contexts.trace if available.
272func (e *ErrorEvent) spanID() string {
273 if e.Contexts != nil && e.Contexts.Trace != nil {
274 return e.Contexts.Trace.SpanID
275 }
276 return ""
277}

Callers 1

storeErrorEventFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected