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

Struct TraceByIDCombiner

modules/frontend/combiner/trace_by_id.go:23–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21)
22
23type TraceByIDCombiner struct {
24 mu sync.Mutex
25
26 c *trace.Combiner
27 contentType api.MarshallingFormat
28
29 code int
30 statusMessage string
31
32 MetricsCombiner *TraceByIDMetricsCombiner
33
34 traceRedactor TraceRedactor
35}
36
37// NewTraceByID returns a trace id combiner. The trace by id combiner has a few different behaviors then the others
38// - 404 is a valid response code. if all downstream jobs return 404 then it will return 404 with no body

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected