phosphor-health-monitor: add D-Bus paths
- Add the D-Bus paths for BMC metrics.
- The code for these paths will be autogenerated in the common.hpp
Change-Id: I3d0273d83136659d67b0907006fb050db948a732
Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
diff --git a/yaml/xyz/openbmc_project/Metrics/Value.interface.yaml b/yaml/xyz/openbmc_project/Metrics/Value.interface.yaml
index e0d6441..0743bae 100644
--- a/yaml/xyz/openbmc_project/Metrics/Value.interface.yaml
+++ b/yaml/xyz/openbmc_project/Metrics/Value.interface.yaml
@@ -55,3 +55,47 @@
- measured_by
required_endpoint_interfaces:
- xyz.openbmc_project.Inventory.Item
+
+paths:
+ - namespace: /xyz/openbmc_project/metric
+ description: >
+ The root path for all Metrics.
+ segments:
+ - name: TotalMemory
+ description: >
+ The total memory metric.
+ value: memory/total
+ - name: FreeMemory
+ description: >
+ The free memory metric.
+ value: memory/free
+ - name: AvailableMemory
+ description: >
+ The available memory metric.
+ value: memory/available
+ - name: SharedMemory
+ description: >
+ The shared memory utilization.
+ value: memory/shared
+ - name: BufferedAndCachedMemory
+ description: >
+ The buffered and cached memory memory utilization.
+ value: memory/buffered_and_cached
+ - name: KernelCPU
+ description: >
+ The kernel CPU utilization.
+ value: cpu/kernel
+ - name: UserCPU
+ description: >
+ The user CPU utilization.
+ value: cpu/user
+ - name: RebootCount
+ description: >
+ Reboot statistic to track number of times device rebooted
+ without failure.
+ value: reboot/count
+ - name: RebootCountWithFailure
+ description: >
+ Reboot statistic to track number of times device rebooted
+ because of a failure.
+ value: reboot/count_with_failure