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

Struct ruleLimits

pkg/ruler/ruler_test.go:91–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91type ruleLimits struct {
92 mtx sync.RWMutex
93 tenantShard float64
94 maxRulesPerRuleGroup int
95 maxRuleGroups int
96 disabledRuleGroups validation.DisabledRuleGroups
97 maxQueryLength time.Duration
98 queryOffset time.Duration
99 externalLabels labels.Labels
100}
101
102func (r *ruleLimits) setRulerExternalLabels(lset labels.Labels) {
103 r.mtx.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected