Skip to content

Issue with Dimension Label Naming Convention Causing Mismatch #107

Open
@LarryLovestein

Description

@LarryLovestein

Hello,

I have encountered an issue with the way new label dimensions are created in the azure-metrics-exporter. The current implementation uses the following code:
labelName := "dimension" + stringsCommon.UppercaseFirst(dimensionName)
This approach capitalizes the first letter of the dimension name, which leads to inconsistencies with other labels.

A better approach would be to use the following format:
labelName := "dimension_" + dimensionName

This would ensure consistency across all labels. Additionally, using this format allows for label mapping, enabling us to retain the original name of the label.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions