Skip to content

[exporter/prometheusremotewriteexporter] otlptranslator.LabelNamer.UnderscoreLabelSanitization is deprecated #50429

Description

@codeboten

validateAndSanitizeExternalLabels sets otlptranslator.LabelNamer{UnderscoreLabelSanitization: !prometheustranslator.DropSanitizationGate.IsEnabled()}. The field is deprecated (github.com/prometheus/otlptranslator) and will be removed in a future version of that module. Currently suppressed with //nolint:staticcheck.

Need to check what otlptranslator replaces this field with (if anything) and how it interacts with this repo's own DropSanitizationGate feature gate - the gate may need to be adjusted or removed depending on the upstream replacement.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions