Skip to content

Document runtime-config on https://cortexmetrics.io/docs/configuration/configuration-file/ #5153

@alanprot

Description

@alanprot

The format of the runtime config is not documented anywhere on https://cortexmetrics.io/docs/configuration/configuration-file/

Even the per tenant limits (under overrides key) is not documented.

See:

type runtimeConfigValues struct {
TenantLimits map[string]*validation.Limits `yaml:"overrides"`
Multi kv.MultiRuntimeConfig `yaml:"multi_kv_config"`
IngesterChunkStreaming *bool `yaml:"ingester_stream_chunks_when_using_blocks"`
IngesterLimits *ingester.InstanceLimits `yaml:"ingester_limits"`
}

Some of the fields mention that it can be overridden but it's not clear how. Ex:

# The default tenant's shard size when the shuffle-sharding strategy is used.
# Must be set both on ingesters and distributors. When this setting is specified
# in the per-tenant overrides, a value of 0 disables shuffle sharding for the
# tenant.
# CLI flag: -distributor.ingestion-tenant-shard-size
[ingestion_tenant_shard_size: <int> | default = 0]

Ans some other fields we dont even have that reference. Ex: we can override by tenant the sse config but is not mentioned anywhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueThese are great first issues. If you are looking for a place to start, start here!keepaliveSkipped by stale bot

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions