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

Method AlertmanagerMaxSilencesCount

pkg/alertmanager/multitenant.go:234–234  ·  view source on GitHub ↗

AlertmanagerMaxSilencesCount returns max number of silences that tenant can have, including expired silences. 0 = no limit.

(tenant string)

Source from the content-addressed store, hash-verified

232
233 // AlertmanagerMaxSilencesCount returns max number of silences that tenant can have, including expired silences. 0 = no limit.
234 AlertmanagerMaxSilencesCount(tenant string) int
235
236 // AlertmanagerMaxSilenceSizeBytes returns the maximum size of an individual silence. 0 = no limit.
237 AlertmanagerMaxSilenceSizeBytes(tenant string) int

Callers 1

NewFunction · 0.65

Implementers 1

Overridespkg/util/validation/limits.go

Calls

no outgoing calls

Tested by

no test coverage detected