Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortexproject/cortex
/ Load
Method
Load
pkg/util/math/max_tracker.go:21–25 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
19
}
20
21
func
(m *MaxTracker) Load() int64 {
22
c := m.current.Load()
23
o := m.old.Load()
24
return
max(c, o)
25
}
Callers
15
TestIngesterMetrics
Function · 0.95
TestMaxTracker
Function · 0.95
validateAlertmanagerConfig
Function · 0.80
FlushOnShutdown
Method · 0.80
ShouldUnregisterOnShutdown
Method · 0.80
processShutdown
Method · 0.80
getError
Method · 0.80
getPrimaryClient
Method · 0.80
updateMirrorEnabledGauge
Method · 0.80
CAS
Method · 0.80
tcpListen
Method · 0.80
getKV
Method · 0.80
Calls
1
max
Function · 0.85
Tested by
15
TestIngesterMetrics
Function · 0.76
TestMaxTracker
Function · 0.76
TestBucketStores_syncUsersBlocks
Function · 0.64
TestFrontendCancel
Function · 0.64
Push
Method · 0.64
Query
Method · 0.64
QueryStream
Method · 0.64
MetricsForLabelMatchersStream
Method · 0.64
MetricsForLabelMatchers
Method · 0.64
MetricsMetadata
Method · 0.64
TestMultitenantAlertmanager_FirewallShouldBlockHTTPBasedReceiversWhenEnabled
Function · 0.64
createAlertmanagerAndSendAlerts
Function · 0.64