Skip to content

Conversation

@ilyam8
Copy link
Member

@ilyam8 ilyam8 commented Nov 20, 2025

Summary

Adds "Source unit" field

Screenshot 2025-11-20 at 15 12 28

Plus formatting

Test Plan
Additional Information
For users: How does this change affect me?

Summary by cubic

Add a “Source unit” field to alert values so authors can specify the metric’s original unit used in expressions, avoiding confusion with UI-scaled units.

  • New Features
    • Added value.units_placeholder to the schema (default “-”), shown as “Source unit” and used before UI scaling.
    • Integrated unitsPlaceholder UI widget with help text.
    • Updated field order in the Value section to include Source unit alongside calculation, units, and update_every.
    • Minor UI layout tweaks (e.g., update_every column span).

Written for commit d2e28c0. Summary will update automatically on new commits.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

@ilyam8 ilyam8 merged commit f81b2d1 into netdata:master Nov 20, 2025
116 checks passed
@ilyam8 ilyam8 deleted the Add-source-unit-field-to-alert-value branch November 20, 2025 15:01
stelfrag pushed a commit to stelfrag/netdata that referenced this pull request Nov 21, 2025
@stelfrag stelfrag mentioned this pull request Nov 21, 2025
Ferroin pushed a commit that referenced this pull request Nov 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants