Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grafana/tempo
/ getEndOfLastMinuteMs
Function
getEndOfLastMinuteMs
modules/generator/registry/registry.go:320–322 · modules/generator/registry/registry.go::getEndOfLastMinuteMs
(timeMs int64)
Source
from the content-addressed store, hash-verified
318
}
319
320
func
getEndOfLastMinuteMs(timeMs int64) int64 {
321
return
time.UnixMilli(timeMs).Truncate(highestAggregationInterval).Add(-1 * time.Second).UnixMilli()
322
}
Callers
15
Test_counter
Function · 0.85
TestCounterDifferentLabels
Function · 0.85
Test_counter_cantAdd
Function · 0.85
Test_counter_removeStaleSeries
Function · 0.85
Test_counter_externalLabels
Function · 0.85
Test_counter_concurrencyCorrectness
Function · 0.85
collectMetrics
Method · 0.85
Test_Histograms
Function · 0.85
Test_nativeHistogram_leadingZero
Function · 0.85
collectMetrics
Method · 0.85
nativeHistograms
Method · 0.85
classicHistograms
Method · 0.85
Calls
1
Add
Method · 0.65
Tested by
14
Test_counter
Function · 0.68
TestCounterDifferentLabels
Function · 0.68
Test_counter_cantAdd
Function · 0.68
Test_counter_removeStaleSeries
Function · 0.68
Test_counter_externalLabels
Function · 0.68
Test_counter_concurrencyCorrectness
Function · 0.68
Test_Histograms
Function · 0.68
Test_nativeHistogram_leadingZero
Function · 0.68
Test_histogram
Function · 0.68
Test_histogram_cantAdd
Function · 0.68
Test_histogram_removeStaleSeries
Function · 0.68
Test_histogram_externalLabels
Function · 0.68