Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortexproject/cortex
/ CleanupInactiveUserMetrics
Method
CleanupInactiveUserMetrics
pkg/scheduler/queue/queue.go:251–253 ·
view source on GitHub ↗
(user string)
Source
from the content-addressed store, hash-verified
249
}
250
251
func
(q *RequestQueue) CleanupInactiveUserMetrics(user string) {
252
q.totalRequests.DeletePartialMatch(prometheus.Labels{
"user"
: user})
253
}
Callers
2
cleanupMetricsForInactiveUser
Method · 0.80
cleanupInactiveUserMetrics
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected