| description: > |
| Dbus Metric Store gets the metric using NVMe Cache |
| |
| properties: |
| - name: MetricCollection |
| type: array[string] |
| flags: |
| - const |
| description: > |
| A collection of names for all the Metrics registered for the component |
| |
| signals: |
| - name: MetricUpdated |
| description: > |
| A signal is broadcasted when an individual metric is updated |
| properties: |
| - name: MetricName |
| type: string |
| description: > |
| Name of the metric broadcasted |
| - name: MetricHeader |
| type: array[byte] |
| description: > |
| Metric Header being broadcasted as a signal on each update. A |
| zero-length header will be transmitted when the Metric turns |
| into invalid. |
| |
| methods: |
| - name: GetMetric |
| description: > |
| Read an individual Metric |
| parameters: |
| - name: Name |
| type: string |
| description: > |
| Name for the Metric |
| returns: |
| - name: Ret |
| type: unixfd |
| description: > |
| A file descriptor to retrieve NVMe Metric Header and Data |
| errors: |
| - xyz.openbmc_project.Common.Error.InvalidArgument |
| - xyz.openbmc_project.Common.Error.Unavailable |
| - xyz.openbmc_project.Common.File.Error.Open |