Skip to content

Metric

Source code in docs_src/capo_application_signals/types/metric.py
class Metric(TypedDict, closed=True):
    namespace: NotRequired["capo_application_signals.types.namespace.Namespace"]
    """<p>The namespace of the metric. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Namespace">Namespaces</a>.</p>"""
    metric_name: NotRequired["capo_application_signals.types.metric_name.MetricName"]
    """<p>The name of the metric to use.</p>"""
    dimensions: NotRequired["capo_application_signals.types.dimensions.Dimensions"]
    """<p>An array of one or more dimensions to use to define the metric that you want to use. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Dimension">Dimensions</a>.</p>"""

dimensions instance-attribute

dimensions: NotRequired[Dimensions]

An array of one or more dimensions to use to define the metric that you want to use. For more information, see Dimensions.

metric_name instance-attribute

metric_name: NotRequired[MetricName]

The name of the metric to use.

namespace instance-attribute

namespace: NotRequired[Namespace]

The namespace of the metric. For more information, see Namespaces.