Skip to content

Open-source status page, incident response and uptime monitoring

309 B
Raw Blame

SCHEMA >
    `day` Date,
    `id` String,
    `worst_indicator` AggregateFunction(argMax, String, UInt8),
    `had_maintenance` AggregateFunction(max, UInt8),
    `snapshot_count` AggregateFunction(sum, UInt32)

ENGINE "AggregatingMergeTree"
ENGINE_PARTITION_KEY "toYYYYMM(day)"
ENGINE_SORTING_KEY "id, day"