(ctx context.Context, t ptrace.Traces)
| 216 | } |
| 217 | |
| 218 | func (p *capturingPusher) PushTraces(ctx context.Context, t ptrace.Traces) (*tempopb.PushResponse, error) { |
| 219 | p.traces = append(p.traces, t) |
| 220 | |
| 221 | // Ensure that headers from the exporter config are propagated. |
| 222 | assert.True(p.t, generator.ExtractNoGenerateMetrics(ctx)) |
| 223 | |
| 224 | return &tempopb.PushResponse{}, nil |
| 225 | } |
| 226 | |
| 227 | func (p *capturingPusher) RetryInfoEnabled(_ context.Context) (bool, error) { |
| 228 | return p.retryInfoEnabled, nil |
nothing calls this directly
no test coverage detected