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

Function NewIntervalMapperFromReq

pkg/traceql/engine_metrics.go:1724–1726  ·  view source on GitHub ↗
(req *tempopb.QueryRangeRequest)

Source from the content-addressed store, hash-verified

1722}
1723
1724func NewIntervalMapperFromReq(req *tempopb.QueryRangeRequest) IntervalMapper {
1725 return NewIntervalMapper(req.Start, req.End, req.Step, IsInstant(req))
1726}
1727
1728func NewIntervalMapper(start, end, step uint64, instant bool) IntervalMapper {
1729 startMs := start - start%uint64(time.Millisecond)

Callers 8

attachExemplarsFunction · 0.92
initMethod · 0.85
NewBaselineAggregatorFunction · 0.85
initMethod · 0.85
ToProtoMethod · 0.85
NewSimpleCombinerFunction · 0.85
NewHistogramAggregatorFunction · 0.85
initMethod · 0.85

Calls 2

NewIntervalMapperFunction · 0.85
IsInstantFunction · 0.85

Tested by

no test coverage detected