Skip to content

MetricsDataSource

Source code in docs_src/capo_sesv2/types/metrics_data_source.py
class MetricsDataSource(TypedDict, closed=True):
    dimensions: "capo_sesv2.types.export_dimensions.ExportDimensions"
    """<p>An object that contains a mapping between a <code>MetricDimensionName</code> and <code>MetricDimensionValue</code> to filter metrics by. Must contain a least 1 dimension but no more than 3 unique ones.</p>"""
    namespace: "capo_sesv2.types.metric_namespace.MetricNamespace"
    """<p>The metrics namespace - e.g., <code>VDM</code>.</p>"""
    metrics: "capo_sesv2.types.export_metrics.ExportMetrics"
    """<p>A list of <code>ExportMetric</code> objects to export.</p>"""
    start_date: "capo_sesv2.types.timestamp.Timestamp"
    """<p>Represents the start date for the export interval as a timestamp.</p>"""
    end_date: "capo_sesv2.types.timestamp.Timestamp"
    """<p>Represents the end date for the export interval as a timestamp.</p>"""

dimensions instance-attribute

dimensions: ExportDimensions

An object that contains a mapping between a MetricDimensionName and MetricDimensionValue to filter metrics by. Must contain a least 1 dimension but no more than 3 unique ones.

end_date instance-attribute

end_date: Timestamp

Represents the end date for the export interval as a timestamp.

metrics instance-attribute

metrics: ExportMetrics

A list of ExportMetric objects to export.

namespace instance-attribute

namespace: MetricNamespace

The metrics namespace - e.g., VDM.

start_date instance-attribute

start_date: Timestamp

Represents the start date for the export interval as a timestamp.