@grow-codes/grafana-loki - v0.1.1
    Preparing search index...

    Class CardinalityGuard

    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.

    Index
    • get allowed(): string[]

      The allowlist, sorted.

      Returns string[]

    • Whether name may be an index label.

      Parameters

      • name: string

      Returns boolean