| 21 | ) |
| 22 | |
| 23 | type 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 |
nothing calls this directly
no outgoing calls
no test coverage detected