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

Struct mockCountingForwarder

modules/distributor/forwarder/forwarder_test.go:16–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14)
15
16type mockCountingForwarder struct {
17 next Forwarder
18 forwardTracesCount int
19}
20
21func (m *mockCountingForwarder) ForwardTraces(ctx context.Context, traces ptrace.Traces) error {
22 m.forwardTracesCount++

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected