GET – MetricReport properties
Use the GET method to retrieve each MetricReport info.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/TelemetryService/MetricReports/{Id}
Response body
Field | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
Id | String | The identifier of this resource. | ||||||
Name | String | The name of this resource. | ||||||
Description | String | The metric definitions used to create a metric report. | ||||||
Timestamp | String | The time associated with the metric report in its entirety. | ||||||
MetricReportDefinition | Link | The definitions in the metric report. | ||||||
MetricValues | Array | An array of metric values for the metered items of this Metric. | ||||||
MetricValues[N] | Object | A metric Value. | ||||||
MetricId | String | The metric definitions identifier for this metric. | ||||||
MetricProperty | String | The URI for the property from which this metric is derived. | ||||||
MetricValue | String | The metric value, as a string. | ||||||
Timestamp | String | The time when the metric is obtained. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"@odata.context": "/redfish/v1/$metadata#MetricReport.MetricReport",
"@odata.etag": "\"08BC0EA1\"",
"@odata.id": "/redfish/v1/TelemetryService/MetricReports/CPUPowerMetrics",
"@odata.type": "#MetricReport.v1_4_2.MetricReport",
"Description": "The metric definitions used to create a metric report.",
"Id": "CPUPowerMetrics",
"MetricReportDefinition": {
"@odata.id": "/redfish/v1/TelemetryService/MetricReportDefinitions/CPUPowerMetrics"
},
"MetricValues": [
{
"MetricProperty": "/redfish/v1/Systems/1/Processors/1/ProcessorMetrics#/ConsumedPowerWatt",
"MetricValue": "71",
"Timestamp": "2024-12-04T05:22:00+00:00"
},
...
{
"MetricProperty": "/redfish/v1/Systems/1/Processors/2/ProcessorMetrics#/ConsumedPowerWatt",
"MetricValue": "60",
"Timestamp": "2024-12-04T05:31:30+00:00"
}
],
"MetricValues@odata.count": 40,
"Name": "CPUPowerMetrics",
"Timestamp": "2024-12-04T05:32:00+00:00"
}
Give documentation feedback