Package version:

Interface MetricAvailability

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

interface MetricAvailability {
    granularity?: string;
    retention?: string;
}

Properties

granularity?: string

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

retention?: string

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