Prometheus bugfixes (#1982)
* Bug fixes and Distinctive aliases Fixed an exception when a Type was not registered in the dictionary Added distinctive aliases for hardware and sensors to prevent confusion due to duplicated names Reviewed units and factors * Skip null values as per #1979 * On prometheus null value show full tagName if possible * Using Dictionaries to keep track of hardware and sensor's names * Fixing some logic errors. * Bugfix: Typo in message * Report up to 5 values per sensor. * Renamed variables for clarity Modified labels as requested * Removed unused variables Fixed error in dictionary key * Fixed a logic error * Removed remote debug * Replaced alilas logic for a simpler `name (id)` * Bugfix: Prometheus requires a colon here Specially in strict mode and in victoriametrics. * Forcing invariant locale conversion of numbers. * Minor Code formatting * Bug fixes and Distinctive aliases Fixed an exception when a Type was not registered in the dictionary Added distinctive aliases for hardware and sensors to prevent confusion due to duplicated names Reviewed units and factors * Skip null values as per #1979 * On prometheus null value show full tagName if possible * Using Dictionaries to keep track of hardware and sensor's names * Fixing some logic errors. * Bugfix: Typo in message * Report up to 5 values per sensor. * Renamed variables for clarity Modified labels as requested * Removed unused variables Fixed error in dictionary key * Fixed a logic error * Removed remote debug * Replaced alilas logic for a simpler `name (id)` * Bugfix: Prometheus requires a colon here Specially in strict mode and in victoriametrics. * Forcing invariant locale conversion of numbers. * Minor Code formatting * Misc --------- Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
C
Cristobal E. committed
2ee84226cee6553a7fd7e4f7f5d2ec3f25c4aa21
Parent: fc15d76
Committed by GitHub <noreply@github.com>
on 12/8/2025, 4:07:47 PM