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

Method TimestampOf

pkg/traceql/engine_metrics.go:1719–1719  ·  view source on GitHub ↗
(interval int)

Source from the content-addressed store, hash-verified

1717 // IntervalMs is the same as Bucket except the input and calculations are in unix milliseconds.
1718 IntervalMs(ts int64) int
1719 TimestampOf(interval int) uint64
1720 // IntervalCount is the number of intervals in the range with step.
1721 IntervalCount() int
1722}

Callers 5

TestTimestampOfFunction · 0.95
TestTimestampOfIntervalsFunction · 0.95
KeepGroupMethod · 0.65
CollectMethod · 0.65
ToProtoMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 2

TestTimestampOfFunction · 0.76
TestTimestampOfIntervalsFunction · 0.76