package
0.37.2
Repository: https://github.com/thanos-io/thanos.git
Documentation: pkg.go.dev

# Functions

MaxDurationPerTenant is returning the maximum duration per tenant.
NewOverrides makes a new Overrides.
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

ErrQueryTooLong is used in chunk store, querier and query frontend.
Supported values for enum limits.
Supported values for enum limits.

# 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.

# 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