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

Struct mockLimiter

modules/generator/registry/registry_test.go:22–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20)
21
22type mockLimiter struct {
23 onAddFunc func(labelHash uint64, seriesCount uint32, lbls labels.Labels) (labels.Labels, uint64)
24 onUpdateFunc func(labelHash uint64, seriesCount uint32)
25 onDeleteFunc func(labelHash uint64, seriesCount uint32)
26 onPruneStaleSeriesFunc func()
27}
28
29var noopLimiter Limiter = &mockLimiter{}
30

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected