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

Method IntervalCount

pkg/traceql/engine_metrics.go:1721–1721  ·  view source on GitHub ↗

IntervalCount is the number of intervals in the range with step.

()

Source from the content-addressed store, hash-verified

1719 TimestampOf(interval int) uint64
1720 // IntervalCount is the number of intervals in the range with step.
1721 IntervalCount() int
1722}
1723
1724func NewIntervalMapperFromReq(req *tempopb.QueryRangeRequest) IntervalMapper {

Callers 11

NewStepAggregatorFunction · 0.95
TestStepRangeToIntervalsFunction · 0.95
TestTimestampOfIntervalsFunction · 0.95
processAttributeMethod · 0.65
CombineMethod · 0.65
initMethod · 0.65
getSeriesMethod · 0.65
ToProtoMethod · 0.65
CombineMethod · 0.65
CombineMethod · 0.65
initMethod · 0.65

Implementers 2

IntervalMapperQueryRangepkg/traceql/engine_metrics.go
IntervalMapperInstantpkg/traceql/engine_metrics.go

Calls

no outgoing calls

Tested by 2

TestStepRangeToIntervalsFunction · 0.76
TestTimestampOfIntervalsFunction · 0.76