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

Method traceID

modules/sentry/types.go:264–269  ·  view source on GitHub ↗

traceID extracts trace_id from contexts.trace if available.

()

Source from the content-addressed store, hash-verified

262
263// traceID extracts trace_id from contexts.trace if available.
264func (e *ErrorEvent) traceID() string {
265 if e.Contexts != nil && e.Contexts.Trace != nil {
266 return e.Contexts.Trace.TraceID
267 }
268 return ""
269}
270
271// spanID extracts span_id from contexts.trace if available.
272func (e *ErrorEvent) spanID() string {

Callers 1

storeErrorEventFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected