Skip to main content

GET – Metric Definition Collection

Request

GET https://{{ip}}/redfish/v1/TelemetryService/MetricDefinitions
Content-Type: application/json

  1. Redfish represents metrics as resource properties (sensor readings, statistics).

  2. Metric Definitions are the metadata of the metrics and provides details about characteristics of readings and calculation for statistics.

  3. It displays a collection of Metric Definitions.

Response

Please refer to Collection Properties for the JSON response property.

Response example

{
"@odata.context": " /redfish/v1/$metadata#MetricDefinitionCollection.MetricDefinitionCollection",
"@odata.etag": "\"1527512499\"",
"@odata.id": "/redfish/v1/TelemetryService/MetricDefinitions",
"@odata.type": "#MetricDefinitionCollection.MetricDefinitionCollection",
"Members": [
{
"@odata.id": "/redfish/v1/TelemetryService/MetricDefinitions/Fan_Reading"
},
{
"@odata.id": "/redfish/v1/TelemetryService/MetricDefinitions/Voltage_Reading"
},
{
"@odata.id": "/redfish/v1/TelemetryService/MetricDefinitions/Temperature_Reading"
}
],
"Members@odata.count": 3,
"Name": "MetricDefinitions"
}