Name | Type | Read only | Description |
(OData Attributes) | | | Refer to OData Support |
Id (M) | String | True | Refer to Resource Type Definitions |
Name | String | True |
Description | String | True |
Schedule | Object | True | Only Recurrence Interval is supported currently. If present, A metric values collected starting at each scheduled interval and for the time specified by Duration. No more than Schedule.MaxOccurrences values shall be collected for this metric. If not present, the corresponding metric values shall be collected when the related metric report is retrieved.
|
MetricReportDefinitionType | String | True | Only Periodic is supported currently. The value shall specify when the corresponding metric values are collected by the underlying instrumentation. If not present, the GatheringType is not known.
|
Status | Object | True | Refer to Resource Complex Types. The property Status/State will be changed to Disabled when MetricReportDefinitionEnabled is false. |
MetricProperties | Array | True | This property shall list the metric properties to include in the metric report. If this attribute is present, Metrics attribute should not be present. MetricProperties only support the value defined under the reading of https://{{ip}}/redfish/v1/TelemetryService/MetricDefinitions.
|
MetricReport | Object | True | The value of this property shall be a reference to the resource where the resultant metric report is placed. |
MetricReportDefinitionEnabled | Boolean | False | The value of this property shall be a Boolean indicating whether this MetricReportDefinition is enabled for generating new MetricReports. Default value is true.
|
SuppressRepeatedMetricValue | Boolean | False | The value of this property shall indicate whether suppression of Metric information has been enabled or not. A value of true indicates that any Metric in the MetricReport currently be generated will be suppressed and not included in the MetricReport when the value of the Metric equals the value of the same Metric in the previously generated MetricReport. A value of false means that the suppression mechanism is not applied to the MetricReport being generated. A MetricReport may be generated with no MetricProperty array values if all Metrics had the same values as in the previously generated MetricReport. This scenario is applicable only when attribute "ReportUpdates" has a value "NewReport". Default value is true.
|
MetricReportHeartbeatInterval | String | False | This property specifies an interval to send complete MetricReport regardless of whether values have changed. It is used in addition to the ReccurranceInterval where SuppressRepeatedMetricValue is Enabled, and the Redfish client desired to be refreshed with metric data occasionally regardless of whether the data is changed or not. The property value shall be a Redfish Duration describing the time internal between generation of the unsuppressed MetricReport. It shall always be a value greater than the RecurranceInterval of a MetricReport and should only be applicable when the SuppressRepeatedMetricValue property is Enabled. The value of this attribute shall be a Redfish Duration in the below mentioned format: "-?P(T(\\d+H)?(\\d+M)?(\\d+(.\\d+)?S)?)?" There is no default value.
|
ReportTimespan | String | False | This property shall specify the timespan duration that this metric report covers. The value of ReportTimespan attribute shall be a Redfish Duration in the below mentioned format: "-?P(T(\\d+H)?(\\d+M)?(\\d+(.\\d+)?S)?)?" This property specifies the amount of time, MetricReports will be generated for a MetricReportDefinition. If the value for this property is specified during the creation of the MetricReportDefinition, the service will stop creating MetricReport once the specified amount of time has reached from the creation of MeteicReportDefinition. If the user modifies this attribute at a later period of time, then the ReportTimespan will be measured from the point of time the PATCH request was issued. There is no default value. This property will not update the value of MetricReportDefinitionEnabled or Status
|
AppendLimit | Integer | True | This property shall contain a number that indicates the maximum number of entries that can be appended to a metric report. When the metric report reaches its limit, its behavior shall be dictated by the ReportUpdates property. This property shall be required if ReportUpdates is either AppendWrapsWhenFull or AppendStopsWhenFull. By default, this limit is configured to 50. It cannot be modified or passed in the request body to POST MetricReportDefinitions.
|
ReportActions | Array | True | This property specifies the set of actions to perform when a metric report is generated and should be any one of the Enum values LogToMetricReportsCollection , RedfishEvent. By default, this property will have the value LogToMetricReportCollection. Also, MetricReportDefinitions and MetricReports update or the generation will not add any log entries inside MetricReportLogs. "ReportUpdates" attribute will not be supported if "RedfishActions" attribute has a value of "RedfishEvent" alone. For "ReportUpdates" attribute to be supported, "RedfishActions" attribute must have the value "LogToMetricreportsCollection" with/without the value "RedfishEvent".
|
ReportUpdates | String | True | This property shall contain how subsequent metric reports are handled in relationship to an existing metric report created from the metric report definition. It specifies whether to overwrite, append, or create a report Resource. The allowable values for this property are - Overwrite, AppendWrapsWhenFull, AppendStopsWhenFull, NewReport. The default value is "Overwrite". If we want to create a MetricReportDefinition with the ReportUpdates property having value as "NewReport", then it is mandatory that the ReportActions property must have "LogToMetricReportsCollection" as one of its members.
|
Links | Object | True | The Links property, as described by the Redfish Specification, shall contain references to resources that are related to, but not contained by (subordinate to), this resource.Name | Type | Read only | Description | Oem | Object | | Refer to Resource Complex Types. | Triggers | Array | True | The value shall be a set of references to triggers that will cause this metric report definition to generate a new metric report upon a trigger occurrence when the TriggerActions property contains the value RedfishMetricReport. | Triggers@odata.count | Integer | True | An integer representing the number of items in a collection. |
|
Metrics | Object | True | A collection of metrics specifying the CollectionFunction and the MetricProperties to apply these functions. If this attribute is present, MetricProperties attribute should not be present.
Properties | Description | MetricId | Id of the metric | CollectionDuration | Time interval | CollectionFunction | Minimum, Maximum, Average or Summation | CollectionTimeScope | Only Interval is supported. The time scope of the corresponding metric values. If not present, the time scope was not qualified by the metric designer or is unknown to the provider.
| MetricProperties | A collection of URI for the metric properties to include in the metric report. MetricProperties only support the values defined under the Members of MetricDefinitions URI
https://{{ip}}/redfish/v1/TelemetryService/MetricDefinitions. |
|