Keeps Loki's index small: only allowlisted label names become index labels, every other stream label is moved to the structured metadata of each entry (an entry's own metadata wins). push applies it unless LokiConfig.disableLabelGuard is set.
push
LokiConfig.disableLabelGuard
A guard for allowed (default DEFAULT_ALLOWED_LABELS).
allowed
The allowlist, sorted.
A copy of stream whose labels outside the allowlist are moved to every entry's metadata.
stream
Whether name may be an index label.
name
Keeps Loki's index small: only allowlisted label names become index labels, every other stream label is moved to the structured metadata of each entry (an entry's own metadata wins).
pushapplies it unlessLokiConfig.disableLabelGuardis set.