sorokeep
    Preparing search index...

    Interface ChannelDefinition

    Describes an alert channel plugin: the sender itself, plus the CLI-facing metadata sorokeep alerts add needs to route flags to it without a hardcoded if/else per channel name.

    interface ChannelDefinition {
        channel: AlertChannel;
        maxRetries?: number;
        missingTargetError: string;
        name: string;
        retryBackoffMs?: number;
        supportsSigning: boolean;
        targetOption: "url" | "channel" | "routingKey";
    }
    Index
    channel: AlertChannel

    The channel implementation.

    maxRetries?: number

    Per-channel retry cap override. Omit to fall back to the global MAX_RETRY_COUNT.

    missingTargetError: string

    Full error message printed when the required target flag is missing.

    name: string

    Unique key. Stored as channel_type in the DB and passed to --type.

    retryBackoffMs?: number

    Per-channel retry backoff override, in milliseconds. Omit to fall back to the global default.

    supportsSigning: boolean

    Whether an HMAC webhook_secret should be generated/stored for this channel.

    targetOption: "url" | "channel" | "routingKey"

    Which alerts add CLI flag supplies this channel's channel_target.