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

Method AlertmanagerMaxTemplatesCount

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

AlertmanagerMaxTemplatesCount returns max number of templates that tenant can use in the configuration. 0 = no limit.

(tenant string)

Source from the content-addressed store, hash-verified

215
216 // AlertmanagerMaxTemplatesCount returns max number of templates that tenant can use in the configuration. 0 = no limit.
217 AlertmanagerMaxTemplatesCount(tenant string) int
218
219 // AlertmanagerMaxTemplateSize returns max size of individual template. 0 = no limit.
220 AlertmanagerMaxTemplateSize(tenant string) int

Callers 1

validateUserConfigFunction · 0.65

Implementers 1

Overridespkg/util/validation/limits.go

Calls

no outgoing calls

Tested by

no test coverage detected