[APM] Metrics: Dashboard names should be snake_case
#222 795 ouverte le 5 juin 2025
Métriques du dépôt
- Stars
- (19 065 étoiles)
- Métriques de merge PR
- (Merge moyen 1j 16h) (999 PRs mergées en 30 j)
Description
Kibana version: >= 8.18 and 8.17
When introducing the new dashboard names pattern, we didn't pay attention that they should match the snake_case file names pattern in Kibana ( We missed that because of this, which is ignoring the files also under the dashboards folder). This was found while backporting to 8.17 where the ignore list was not yet extended.
The goal of this issue is to change the pattern from ${dataFormat}-${sdkName}-${sdkLanguage} to ${dataFormat}_${sdkName}_${sdkLanguage} where all 3 (dataFormat, sdkName, sdkLanguage) are converted to kebab-case or camelCase to avoid breaking the separation - let's check examples:
- otel_native-edot-java should become otel-native_edot_java OR
- otel_native-otel_other-go > otelNative_otelOther_go As long as it's readable and the separation is clear, it doesn't really matter which pattern is followed
AC:
- Follow the correct pattern in the names as described in the issue
- Remove those changes in 8.17 (backport this solution)
- The build (quick checks as well, after removing this) should pass
- Same on the newer versions (the quick checks should pass when removing this)
- ⚠ Do not remove this yet when merging, as it might break other things, but can be removed just to test the dashboard names and return them.