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

Struct MockReporter

cmd/tempo-vulture/mocks.go:15–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13)
14
15type MockReporter struct {
16 err error
17 batchesEmitted []*thrift.Batch
18 // We need the lock to control concurrent accesses to batchesEmitted
19 m sync.Mutex
20}
21
22func (r *MockReporter) EmitBatch(_ context.Context, b *thrift.Batch) error {
23 if r.err == nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected