MCPcopy
hub / github.com/grafana/tempo / TraceID

Method TraceID

pkg/util/trace_info.go:105–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

103}
104
105func (t *TraceInfo) TraceID() ([]byte, error) {
106 return HexStringToTraceID(t.HexID())
107}
108
109func (t *TraceInfo) HexID() string {
110 return fmt.Sprintf("%016x%016x", t.traceIDHigh, t.traceIDLow)

Callers 4

TestReadMetricsFunction · 0.95
TestRunValidationFunction · 0.95
ExtractTraceIDFunction · 0.80

Calls 2

HexIDMethod · 0.95
HexStringToTraceIDFunction · 0.85

Tested by 3

TestReadMetricsFunction · 0.76
TestRunValidationFunction · 0.76