MDAA TS Docs
    Preparing search index...

    Properties for a metric data query (used in metric math alarms)

    interface MetricDataQueryProps {
        dimensions?: { [key: string]: string };
        expression?: string;
        id: string;
        label?: string;
        metricName?: string;
        namespace?: string;
        period?: number;
        returnData?: boolean;
        statistic?: string;
        unit?: string;
    }
    Index

    Properties

    dimensions?: { [key: string]: string }

    The dimensions for the metric

    - No dimensions
    
    expression?: string

    The metric math expression

    - No expression (use metric stats instead)
    
    id: string

    The ID of the metric (used in expressions)

    label?: string

    The label for the metric

    - No label
    
    metricName?: string

    The metric name (for metric stats)

    - No metric name (use expression instead)
    
    namespace?: string

    The metric namespace (for metric stats)

    - No namespace (use expression instead)
    
    period?: number

    The period for the metric in seconds

    - No period (use expression instead)
    
    returnData?: boolean

    Whether to return data for this metric

    true for expressions, false for metrics
    
    statistic?: string

    The statistic to apply to the metric

    - No statistic (use expression instead)
    
    unit?: string

    The unit of the metric

    - No unit