GET – Metric Report Instance
Request
GET https://{{ip}}/redfish/v1/TelemetryService/MetricReports/{{metric_report_instance}}
Content-Type: application/json
The Metric Report Instance resource specifies the metric report that the Redfish service will create, corresponding to the Metric Report Definition.
The Metric Reports are updated periodically based on the recurrence interval specified.
Response
The response of the request will be in JSON format. The properties are mentioned in the following table.
Name | Type | Read only | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
(OData Attributes) | Refer to OData Support | |||||||||||||||||
Id(M) | String | True | Refer to Resource Type Definitions | |||||||||||||||
Name(M) | String | True | ||||||||||||||||
Description | String | True | ||||||||||||||||
MetricReportDefinition | Object | True | The value shall be reference to the metric definition for this metric. | |||||||||||||||
Timestamp | String | True |
| |||||||||||||||
ReportSequence | String | True |
| |||||||||||||||
MetricValues | Object | True | The values shall be metric values for this MetricReport.
|
Request example
GET https://{{ip}}/redfish/v1/TelemetryService/MetricReports/AverageTemperatureReport
Content-Type: application/json
Response example
{
"@odata.context": "/redfish/v1/$metadata#MetricReport.MetricReport",
"@odata.etag": "\"1581503942\"",
"@odata.id": "/redfish/v1/TelemetryService/MetricReports/AverageTemperatureReport",
"@odata.type": "#MetricReport.v1_2_0.MetricReport",
"Id": "AverageTemperatureReport",
"MetricReportDefinition": {
"@odata.id": "/redfish/v1/TelemetryService/MetricReportDefinitions/AverageTemperatureReport"
},
"MetricValues": [
{
"MetricId": "AverageTemperature",
"MetricProperty": "/redfish/v1/Chassis/Self/Thermal#/Temperatures/117_0/ReadingCelsius",
"MetricValue": "0",
"Timestamp": "2020-02-12T05:39:02+00:00"
},
{
"MetricId": "AverageTemperature",
"MetricProperty": "/redfish/v1/Chassis/Self/Thermal#/Temperatures/116_0/ReadingCelsius",
"MetricValue": "0",
"Timestamp": "2020-02-12T05:39:02+00:00"
}
],
"Name": "Average_Temperature_Report",
"ReportSequence": "1",
"Timestamp": "2020-02-12T05:39:02+00:00"
}