The rsd_lib.resources.v2_2.telemetry_service.metric_report Module

class rsd_lib.resources.v2_2.telemetry_service.metric_report.MetricReport(connector, path='', redfish_version=None, registries=None, reader=None)

Bases: rsd_lib.base.ResourceBase

MetricReport resource class

A metric report resource that is output from Metric Report Definition.

property metric_report_definition

Property to provide reference to MetricReportDefinition instance

It is calculated once when it is queried for the first time. On refresh, this property is reset.

metric_values = <rsd_lib.resources.v2_2.telemetry_service.metric_report.MetricValueCollectionField object>

An array of metric values for the metered items of this Metric.

class rsd_lib.resources.v2_2.telemetry_service.metric_report.MetricReportCollection(connector, path, redfish_version=None, registries=None)

Bases: rsd_lib.base.ResourceCollectionBase

class rsd_lib.resources.v2_2.telemetry_service.metric_report.MetricValueCollectionField(*args, **kwargs)

Bases: sushy.resources.base.ListField

MetricValue field

A metric Value.

metric_definition = <sushy.resources.base.Field object>

The value shall be a URI to the metric definition of the property

metric_id = <sushy.resources.base.Field object>

The value shall be the MetricId of the source metric within the associated MetricDefinition

metric_property = <sushy.resources.base.Field object>

The value shall be a URI of a property contained in the scope of the MetricScope

metric_value = <sushy.resources.base.Field object>

The value of the metric represented as a string. Its data type is specified in including MetricResult.MetricDefinition.

time_stamp = <sushy.resources.base.Field object>

The value shall be an ISO 8601 date time for when the metric value was computed. Note that this may be different from the time when this instance is created. If Volatile is true for a given metric value instance, the TimeStamp changes whenever a new measurement snapshot is taken. A management application may establish a time series of metric data by retrieving the instances of metric value and sorting them according to their TimeStamp.