POST – Submit a test Metric Report
Use the POST method to send a test metric report. User can open a SSE stream with filter “EventFormatType eq ‘MetricReport’” for getting the test metric report. Example: https://<bmc_ip>/redfish/v1/EventService/ServerSentEvent?$filter=EventFormatType eq ‘MetricReport’
Example:
https://sseuri?$filter=EventFormatType eq ‘MetricReport’
Request URL
POST https://<BMC_IPADDR>/redfish/v1/TelemetryService/Actions/TelemetryService.SubmitTestMetricReport
Request body
| Field | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
| MetricReportName | String | The name of the metric report in generated metric report. | ||||||
| GeneratedMetricReportValues | Array | Items: object Item count: 0 ~ N | ||||||
| GeneratedMetricReportValues[N] | Object | The content of the MetricReportValues in the generated metric report. | ||||||
| MetricDefinition | Link | The link to the metric. | ||||||
| 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 value is obtained. | ||||||
Response
None
Status code
| HTTP Status Code | Error Message ID |
|---|---|
| 204 | NoContent |
| 500 | InternalError |
Give documentation feedback