# Functions
NewOverrides makes a new Overrides.
SetDefaultLimitsForYAMLUnmarshalling sets global default limits, used when loading Limits from YAML files.
ValidateLabels returns an err if the labels are invalid.
ValidateSample returns an err if the sample is invalid.
# Constants
ErrQueryTooLong is used in chunk store and query frontend.
Supported values for enum limits.
Supported values for enum limits.
RateLimited is one of the values for the reason to discard samples.
# Variables
DiscardedSamples is a metric of the number of discarded samples, by reason.
# Interfaces
LabelValidationConfig helps with getting required config to validate labels.
SampleValidationConfig helps with getting required config to validate sample.
# Type aliases
TenantLimits is a function that returns limits for given tenant, or nil, if there are no tenant-specific limits.