#
b94b122d |
| 02-Mar-2024 |
Jagpal Singh Gill <paligill@gmail.com> |
health metric: check hysteresis for value notify
Add hysteresis for metric value and check it before notifying the metric value update.
Change-Id: I8dace4b9436dd9b16f1a075505079d5001928f52 Signed-o
health metric: check hysteresis for value notify
Add hysteresis for metric value and check it before notifying the metric value update.
Change-Id: I8dace4b9436dd9b16f1a075505079d5001928f52 Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
show more ...
|
#
658efd5f |
| 04-Mar-2024 |
Patrick Williams <patrick@stwcx.xyz> |
health_metric: simplify type aliases
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I116b46a0633daae6c0b44e0419434f01a58aad58
|
#
97582801 |
| 27-Feb-2024 |
Jagpal Singh Gill <paligill@gmail.com> |
storage metric: add generic implementation
Add the generic implementation for the storage metric, so there is no need to add a new enum value and new code, every time a new storage type needs to be
storage metric: add generic implementation
Add the generic implementation for the storage metric, so there is no need to add a new enum value and new code, every time a new storage type needs to be added.
Change-Id: Idcd99455ca559eb6274a71613684a99b4b63a6f0 Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
show more ...
|
#
6a3884a4 |
| 24-Feb-2024 |
Jagpal Singh Gill <paligill@gmail.com> |
threshold: use absolute value for D-Bus
Use the absolute value for threshold rather than percentage value. This involves passing the total value from the metric collection so it can be used in perce
threshold: use absolute value for D-Bus
Use the absolute value for threshold rather than percentage value. This involves passing the total value from the metric collection so it can be used in percentage calculation within health metric logic.
Change-Id: I46240aee54117c70637f9fbf882018f0eac520b2 Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
show more ...
|
#
cfd889fe |
| 10-Feb-2024 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are for: * bus_t * exception_t * manager_t * match_t * message_t * object_t * slot_t
Change-Id: Ie0805a98908ddca5c97471588adc160d9f5633c6 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
23f091e5 |
| 10-Dec-2023 |
Jagpal Singh Gill <paligill@gmail.com> |
add health_metric implementation
Add the interface and implementation for the health_metric to be used in the rewrite for phosphor-health-monitor. This change is in relation to following design and
add health_metric implementation
Add the interface and implementation for the health_metric to be used in the rewrite for phosphor-health-monitor. This change is in relation to following design and D-Bus interface update - https://gerrit.openbmc.org/c/openbmc/docs/+/64917 https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/64914
gtest added for UT.
Change-Id: Iffcc52f9dff712890377b1222fd7e7d5d6661eaf Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
show more ...
|