Skip to content

prometheus: Fix metric count plural forms - #1240

Open
illume wants to merge 1 commit into
headlamp-k8s:mainfrom
illume:fix-prometheus-metrics-plurals
Open

prometheus: Fix metric count plural forms#1240
illume wants to merge 1 commit into
headlamp-k8s:mainfrom
illume:fix-prometheus-metrics-plurals

Conversation

@illume

@illume illume commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Correct the KEDA scaler metric-count English defaults so count 1 uses the singular form and other counts use the plural form.

The explicit plural defaults keep npm run i18n generation stable and correct the committed English locale.

Validation:

  • npm run tsc
  • npm run lint
  • npm test (36 passed, 1 skipped)
  • npm run i18n preserves the corrected _one and _other values

Signed-off-by: René Dudfield <renedudfield@microsoft.com>
@illume
illume force-pushed the fix-prometheus-metrics-plurals branch from 12972e4 to 0aaf470 Compare August 24, 2026 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant