Skip to content

MetricV2

Source code in docs_src/capo_connect/types/metric_v2.py
class MetricV2(TypedDict, closed=True):
    name: NotRequired["capo_connect.types.metric_name_v2.MetricNameV2"]
    """<p>The name of the metric.</p>"""
    threshold: NotRequired[
        "capo_connect.types.threshold_collections.ThresholdCollections"
    ]
    """<p>Contains information about the threshold for service level metrics.</p>"""
    metric_id: NotRequired["capo_connect.types.metric_id.MetricId"]
    """<p>Historical metrics or custom metrics can be referenced via this field. This field is a valid Connect Customer Arn or a UUID</p>"""
    metric_filters: NotRequired[
        "capo_connect.types.metric_filters_v2_list.MetricFiltersV2List"
    ]
    """<p>Contains the filters to be used when returning data.</p>"""

metric_filters instance-attribute

metric_filters: NotRequired[MetricFiltersV2List]

Contains the filters to be used when returning data.

metric_id instance-attribute

metric_id: NotRequired[MetricId]

Historical metrics or custom metrics can be referenced via this field. This field is a valid Connect Customer Arn or a UUID

name instance-attribute

name: NotRequired[MetricNameV2]

The name of the metric.

threshold instance-attribute

threshold: NotRequired[ThresholdCollections]

Contains information about the threshold for service level metrics.