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

    Function normalizeLabelName

    • Normalizes an attribute key to a label/metadata name the way Loki does for OTLP attributes: every character outside [a-zA-Z0-9_] becomes _ (service.name → service_name), and a leading digit gets a _ prefix.

      Parameters

      • key: string

      Returns string