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

Struct mockOverrides

tempodb/compactor_test.go:47–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45func (m *mockJobSharder) Owns(string) bool { return true }
46
47type mockOverrides struct {
48 blockRetention time.Duration
49 disabled bool
50 maxBytesPerTrace int
51 maxCompactionWindow time.Duration
52}
53
54func (m *mockOverrides) BlockRetentionForTenant(_ string) time.Duration {
55 return m.blockRetention

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected