MetricAvailability Class

Metric availability specifies the time grain (aggregation interval or frequency) and the retention period for that time grain.

Inheritance
MetricAvailability

Constructor

MetricAvailability(*, time_grain: Optional[datetime.timedelta] = None, retention: Optional[datetime.timedelta] = None, **kwargs)

Variables

time_grain
timedelta

the time grain specifies the aggregation interval for the metric. Expressed as a duration 'PT1M', 'P1D', etc.

retention
timedelta

the retention period for the metric at the specified timegrain. Expressed as a duration 'PT1M', 'P1D', etc.