bmc-health-monitor: unpluralize metrics in dbus interfaces
Align with typical dbus path and interface design and the latest
version of the dbus interfaces for Metric.Value.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I1b82d9019262feb8e3c9795aeae5760811e77be7
diff --git a/designs/bmc-health-monitor.md b/designs/bmc-health-monitor.md
index c8d8bd8..185d302 100644
--- a/designs/bmc-health-monitor.md
+++ b/designs/bmc-health-monitor.md
@@ -154,8 +154,8 @@
| Interface Name | Purpose | Required/Optional |
| :----------------------------------- | :----------------------------------------------------------------------------- | :---------------- |
-| xyz.openbmc_project.Metrics.Value | Interface to represent value for Metrics. | Required |
-| xyz.openbmc_project.Metrics.Reset | Interface to reset persistent Metrics counters. | Optional |
+| xyz.openbmc_project.Metric.Value | Interface to represent value for Metrics. | Required |
+| xyz.openbmc_project.Metric.Reset | Interface to reset persistent Metrics counters. | Optional |
| xyz.openbmc_project.Common.Threshold | Interface to represent Metric thresholds and signals for threshold violations. | Optional |
| xyz.openbmc_project.Time.EpochTime | Interface to indicate when the metric was collected. | Optional |
@@ -164,15 +164,15 @@
```
/xyz/openbmc_project
- |- /xyz/openbmc_project/metrics/bmc/memory/total
- |- /xyz/openbmc_project/metrics/bmc/memory/free
- |- /xyz/openbmc_project/metrics/bmc/memory/available
- |- /xyz/openbmc_project/metrics/bmc/memory/shared
- |- /xyz/openbmc_project/metrics/bmc/memory/buffered_and_cached
- |- /xyz/openbmc_project/metrics/bmc/cpu/user
- |- /xyz/openbmc_project/metrics/bmc/cpu/kernel
- |- /xyz/openbmc_project/metrics/bmc/reboot/count
- |- /xyz/openbmc_project/metrics/bmc/reboot/count_with_failure
+ |- /xyz/openbmc_project/metric/bmc/memory/total
+ |- /xyz/openbmc_project/metric/bmc/memory/free
+ |- /xyz/openbmc_project/metric/bmc/memory/available
+ |- /xyz/openbmc_project/metric/bmc/memory/shared
+ |- /xyz/openbmc_project/metric/bmc/memory/buffered_and_cached
+ |- /xyz/openbmc_project/metric/bmc/cpu/user
+ |- /xyz/openbmc_project/metric/bmc/cpu/kernel
+ |- /xyz/openbmc_project/metric/bmc/reboot/count
+ |- /xyz/openbmc_project/metric/bmc/reboot/count_with_failure
```
Servers for Metrics Data
@@ -189,8 +189,8 @@
to add context about **"which device"**. For example -
```
-/xyz/openbmc_project/metrics/device-0/memory/total
-/xyz/openbmc_project/metrics/device-1/memory/total
+/xyz/openbmc_project/metric/device-0/memory/total
+/xyz/openbmc_project/metric/device-1/memory/total
...
```