package
2.4.3
Repository: https://github.com/frelon/loki.git
Documentation: pkg.go.dev

# Functions

MaxDurationPerTenant is returning the maximum duration per tenant.
NewOverrides makes a new Overrides.
NewOverridesExporter creates an OverridesExporter that reads updates to per-tenant limits using the provided function.
SetDefaultLimitsForYAMLUnmarshalling sets global default limits, used when loading Limits from YAML files.
SmallestPositiveIntPerTenant is returning the minimal positive value of the supplied limit function for all given tenants.
SmallestPositiveNonZeroDurationPerTenant is returning the minimal positive and non-zero value of the supplied limit function for all given tenants.
SmallestPositiveNonZeroIntPerTenant is returning the minimal positive and non-zero value of the supplied limit function for all given tenants.

# Constants

DroppedByRelabelConfiguration Samples can also be discarded because of relabeling configuration.
DroppedByUserConfigurationOverride Samples discarded due to user configuration removing label __name__.
ErrQueryTooLong is used in chunk store, querier and query frontend.
The combined length of the label names and values of an Exemplar's LabelSet MUST NOT exceed 128 UTF-8 characters https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#exemplars.
Supported values for enum limits.
Supported values for enum limits.
RateLimited is one of the values for the reason to discard samples.
Too many HA clusters is one of the reasons for discarding samples.

# Structs

Limits describe all the limits for users; can be used to describe global default limits via flags, or per-user limits via yaml config.
Overrides periodically fetch a set of per-user overrides, and provides convenience functions for fetching the correct value.
OverridesExporter exposes per-tenant resource limit overrides as Prometheus metrics.

# Interfaces

TenantLimits exposes per-tenant limit overrides to various resource usage limits.

# Type aliases

LimitError are errors that do not comply with the limits specified.
No description provided by the author