MCPcopy Create free account
hub / github.com/cortexproject/cortex / RulerExternalLabels

Method RulerExternalLabels

pkg/ruler/ruler_test.go:144–148  ·  view source on GitHub ↗
(_ string)

Source from the content-addressed store, hash-verified

142}
143
144func (r *ruleLimits) RulerExternalLabels(_ string) labels.Labels {
145 r.mtx.RLock()
146 defer r.mtx.RUnlock()
147 return r.externalLabels
148}
149
150func newEmptyQueryable() storage.Queryable {
151 return storage.QueryableFunc(func(mint, maxt int64) (storage.Querier, error) {

Callers 1

TestSyncRuleGroupsFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected