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

Method AlertmanagerMaxAlertsSizeBytes

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

AlertmanagerMaxAlertsSizeBytes returns total max size of alerts that tenant can have active at the same time. 0 = no limit. Size of the alert is computed from alert labels, annotations and generator URL.

(tenant string)

Source from the content-addressed store, hash-verified

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.
231 AlertmanagerMaxAlertsSizeBytes(tenant string) int
232
233 // AlertmanagerMaxSilencesCount returns max number of silences that tenant can have, including expired silences. 0 = no limit.
234 AlertmanagerMaxSilencesCount(tenant string) int

Callers 1

PreStoreMethod · 0.65

Implementers 1

Overridespkg/util/validation/limits.go

Calls

no outgoing calls

Tested by

no test coverage detected