Prometheus.spec.otlp.labelNameUnderscoreSanitization
labelNameUnderscoreSanitization controls whether to enable prepending of 'key_' to labels starting with '_'. Reserved labels starting with '__' are not modified. This is only relevant when translation_strategy uses underscore escaping (e.g., "UnderscoreEscapingWithSuffixes" or "UnderscoreEscapingWithoutSuffixes"). Notice: This one has no impact if `nameEscapingScheme` is `AllowUTF8`. It requires Prometheus >= v3.8.0.
| Field / Type | Description |
|---|---|
Prometheus.spec.otlp.labelNameUnderscoreSanitization | labelNameUnderscoreSanitization controls whether to enable prepending of 'key_' to labels starting with '_'. Reserved labels starting with '__' are not modified. This is only relevant when translation_strategy uses underscore escaping (e.g., "UnderscoreEscapingWithSuffixes" or "UnderscoreEscapingWithoutSuffixes"). Notice: This one has no impact if `nameEscapingScheme` is `AllowUTF8`. It requires Prometheus >= v3.8.0. |