Skip to content

MetricGraph

Source code in docs_src/capo_application_signals/types/metric_graph.py
class MetricGraph(TypedDict, closed=True):
    metric_data_queries: NotRequired[
        "capo_application_signals.types.metric_data_queries.MetricDataQueries"
    ]
    """<p>An array of metric data queries that define the metrics to be retrieved and analyzed as part of the audit finding context.</p>"""
    start_time: NotRequired["datetime.datetime"]
    """<p>The start time for the metric data included in this graph. When used in a raw HTTP Query API, it is formatted as epoch time in seconds.</p>"""
    end_time: NotRequired["datetime.datetime"]
    """<p>The end time for the metric data included in this graph. When used in a raw HTTP Query API, it is formatted as epoch time in seconds.</p>"""

end_time instance-attribute

end_time: NotRequired[datetime]

The end time for the metric data included in this graph. When used in a raw HTTP Query API, it is formatted as epoch time in seconds.

metric_data_queries instance-attribute

metric_data_queries: NotRequired[MetricDataQueries]

An array of metric data queries that define the metrics to be retrieved and analyzed as part of the audit finding context.

start_time instance-attribute

start_time: NotRequired[datetime]

The start time for the metric data included in this graph. When used in a raw HTTP Query API, it is formatted as epoch time in seconds.