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

Method AlertmanagerMaxAlertsCount

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

AlertmanagerMaxAlertsCount returns max number of alerts that tenant can have active at the same time. 0 = no limit.

(tenant string)

Source from the content-addressed store, hash-verified

225
226 // AlertmanagerMaxAlertsCount returns max number of alerts that tenant can have active at the same time. 0 = no limit.
227 AlertmanagerMaxAlertsCount(tenant string) int
228
229 // AlertmanagerMaxAlertsSizeBytes returns total max size of alerts that tenant can have active at the same time. 0 = no limit.
230 // Size of the alert is computed from alert labels, annotations and generator URL.

Callers 1

PreStoreMethod · 0.65

Implementers 1

Overridespkg/util/validation/limits.go

Calls

no outgoing calls

Tested by

no test coverage detected