The platform memory data-set type is currently set to 'percent'.
It is possible to over subscribe platform memory usage to more
than 100%.
Collectd drops sample values that are greater than 100 when its
data-set type is 'percent'. Collectd considers a percent value
greater than 100 to be an invalid value.
This update changes the data-set type for platform memory usage
from 'percent' to 'memory' to allow memory usage values greater
than 100 to be handled.
Test Plan:
PASS: Verify that platform memory overage alarm value is reported
as the 'actual' value in the alarm Reason Text.
PASS: Verify platform memory usage values that exceed the major
threshold are alarmed 'major'.
PASS: Verify platform memory usage values that exceed the critical
threshold are alarmed 'critical', even if the
debounced value exceeds 100.
PASS: Verify ridiculously large values are still alarmed and that
value is still included in the alarm Reason Text.
Change-Id: I7189671e20c92656f820fda74c4871504d89e73a
Closes-Bug: 1940875
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>