@videosdk.live/server-sdk
    Preparing search index...

    Interface AlertRuleConfig

    Alert rule config. Loosely typed: query/condition mirror the API's metric-threshold schema; consult the API docs for the full shape.

    interface AlertRuleConfig {
        absentDataAlert?: { enabled: boolean; forSeconds?: number };
        additionalQueries?: Record<string, unknown>;
        condition: Record<string, unknown>;
        evaluation?: Record<string, unknown>;
        formula?: unknown;
        labels?: Record<string, string>;
        query: Record<string, unknown>;
        reduceTo?: string;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index
    absentDataAlert?: { enabled: boolean; forSeconds?: number }
    additionalQueries?: Record<string, unknown>
    condition: Record<string, unknown>

    Required by the API — must include operator and threshold.

    evaluation?: Record<string, unknown>
    formula?: unknown
    labels?: Record<string, string>
    query: Record<string, unknown>

    Required by the API — must include a metric.

    reduceTo?: string