You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: