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

Method init

pkg/traceql/ast_metrics.go:403–405  ·  view source on GitHub ↗
(req *tempopb.QueryRangeRequest)

Source from the content-addressed store, hash-verified

401}
402
403func (m *TopKBottomK) init(req *tempopb.QueryRangeRequest) {
404 m.length = NewIntervalMapperFromReq(req).IntervalCount()
405}
406
407func (m *TopKBottomK) process(input SeriesSet) SeriesSet {
408 // if input size is less or equal to limit, return input as is

Callers

nothing calls this directly

Calls 2

NewIntervalMapperFromReqFunction · 0.85
IntervalCountMethod · 0.65

Tested by

no test coverage detected