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

Function newAdaptiveSampler

pkg/traceql/sampler.go:94–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92var _ Sampler = (*adaptiveSampler)(nil)
93
94func newAdaptiveSampler() *adaptiveSampler {
95 return &adaptiveSampler{
96 debug: false,
97 curr: -1,
98 }
99}
100
101func (s *adaptiveSampler) Expect(count uint64) {
102 // Loss are samples that we were told to expect, but were never called against Sample()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected