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

Method AlertmanagerMaxConfigSize

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

AlertmanagerMaxConfigSize returns max size of configuration file that user is allowed to upload. If 0, there is no limit.

(tenant string)

Source from the content-addressed store, hash-verified

212
213 // AlertmanagerMaxConfigSize returns max size of configuration file that user is allowed to upload. If 0, there is no limit.
214 AlertmanagerMaxConfigSize(tenant string) int
215
216 // AlertmanagerMaxTemplatesCount returns max number of templates that tenant can use in the configuration. 0 = no limit.
217 AlertmanagerMaxTemplatesCount(tenant string) int

Callers 1

SetUserConfigMethod · 0.65

Implementers 1

Overridespkg/util/validation/limits.go

Calls

no outgoing calls

Tested by

no test coverage detected