Skip to main content

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

FieldTypeDescription
MetricReportNameString

The name of the metric report in generated metric report.

GeneratedMetricReportValuesArray

Items: object

Item count: 0 ~ N

 GeneratedMetricReportValues[N]Object

The content of the MetricReportValues in the generated metric report.

  MetricDefinitionLink

The link to the metric.

  MetricIdString

The metric definitions identifier for this metric.

  MetricPropertyString

The URI for the property from which this metric is derived.

  MetricValueString

The metric value, as a string.

  TimestampString

The time when the metric value is obtained.

Response

None

Status code

HTTP Status CodeError Message ID
204NoContent
500InternalError