Skip to content

MetricDatum

Source code in docs_src/capo_iot/types/metric_datum.py
class MetricDatum(TypedDict, closed=True):
    timestamp: NotRequired["capo_iot.types.timestamp.Timestamp"]
    """<p>The time the metric value was reported.</p>"""
    value: NotRequired["capo_iot.types.metric_value.MetricValue"]
    """<p>The value reported for the metric.</p>"""

timestamp instance-attribute

timestamp: NotRequired[Timestamp]

The time the metric value was reported.

value instance-attribute

value: NotRequired[MetricValue]

The value reported for the metric.