Skip to content

Metric

Source code in docs_src/capo_rds/types/metric.py
class Metric(TypedDict, closed=True):
    name: NotRequired["capo_rds.types.string.String"]
    """<p>The name of a metric.</p>"""
    references: NotRequired["capo_rds.types.metric_reference_list.MetricReferenceList"]
    """<p>A list of metric references (thresholds).</p>"""
    statistics_details: NotRequired["capo_rds.types.string.String"]
    """<p>The details of different statistics for a metric. The description might contain markdown.</p>"""
    metric_query: NotRequired["capo_rds.types.metric_query.MetricQuery"]
    """<p>The query to retrieve metric data points.</p>"""

metric_query instance-attribute

metric_query: NotRequired[MetricQuery]

The query to retrieve metric data points.

name instance-attribute

name: NotRequired[String]

The name of a metric.

references instance-attribute

references: NotRequired[MetricReferenceList]

A list of metric references (thresholds).

statistics_details instance-attribute

statistics_details: NotRequired[String]

The details of different statistics for a metric. The description might contain markdown.