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

Method Expect

pkg/traceql/sampler.go:21–21  ·  pkg/traceql/sampler.go::Sampler.Expect

Expect is called before any sampling and provides knowledge of the total number of entries that are present in the dataset. This allows the sampler to alter behavior if needed.

(count uint64)

Source from the content-addressed store, hash-verified

19 // Expect is called before any sampling and provides knowledge of the total number of entries
20 // that are present in the dataset. This allows the sampler to alter behavior if needed.
21 Expect(count uint64)
22
23 // FinalScalingFactor is called at the end to and is how much to scale up the
24 // results.

Callers 2

KeepPageMethod · 0.65
KeepPageMethod · 0.65

Implementers 2

probabilisticSamplerpkg/traceql/sampler.go
adaptiveSamplerpkg/traceql/sampler.go

Calls

no outgoing calls

Tested by

no test coverage detected