Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/cortexproject/cortex
/ GetClientFor
Method
GetClientFor
pkg/ruler/ruler.go:462–464 ·
view source on GitHub ↗
(addr string)
Source
from the content-addressed store, hash-verified
460
}
461
462
func
(r *Ruler) GetClientFor(addr string) (RulerClient, error) {
463
return
r.clientsPool.GetClientFor(addr)
464
}
465
466
func
(r *Ruler) Config() Config {
467
return
r.cfg
Callers
1
nonPrimaryInstanceOwnsRuleGroup
Method · 0.95
Calls
1
GetClientFor
Method · 0.65
Tested by
no test coverage detected