Skip to content

Manage overflow for monotonic sensors

Implement a mechanism to detect overflow for monotonic sensors (e.g., energy consumption) so that sensor operations would not be affected negatively (e.g., deltas). Basically substitute the field "integrable" with a nice field "flag" which will hold a 64 bit mask for different potential flags (e.g., integrable, monotonic, etc). This flag should be configurable via CLI (e.g., -flag monotonic,integrable,...).

Edited by Daniele Tafani