diff options
Diffstat (limited to 'meta-ibs/meta-cp2-5422/recipes-phosphor/interfaces/bmcweb/0011-configure-telemetry.patch')
-rw-r--r-- | meta-ibs/meta-cp2-5422/recipes-phosphor/interfaces/bmcweb/0011-configure-telemetry.patch | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-ibs/meta-cp2-5422/recipes-phosphor/interfaces/bmcweb/0011-configure-telemetry.patch b/meta-ibs/meta-cp2-5422/recipes-phosphor/interfaces/bmcweb/0011-configure-telemetry.patch index 97bc6d6129..d77457ce7a 100644 --- a/meta-ibs/meta-cp2-5422/recipes-phosphor/interfaces/bmcweb/0011-configure-telemetry.patch +++ b/meta-ibs/meta-cp2-5422/recipes-phosphor/interfaces/bmcweb/0011-configure-telemetry.patch @@ -69,10 +69,11 @@ index 18830f13..b3f5721e 100644 { metricValues.push_back({ - {"MetricId", id}, - {"MetricProperty", metadata}, +- {"MetricProperty", metadata}, - {"MetricValue", std::to_string(sensorValue)}, - {"Timestamp", redfish::time_utils::getDateTimeUintMs(timestamp)}, -+ {"MetricValue", GetCroppedValue(sensorValue)}, ++ {"Sensor", metadata}, ++ {"Value", GetCroppedValue(sensorValue)}, + {"Timestamp", GetCroppedTimeStamp(timestamp)}, }); } |