Openstatus
www.openstatus.dev
1# Data Source created from Pipe 'aggregate__http_status_14d__v0'
2
3SCHEMA >
4 `time` DateTime('UTC'),
5 `monitorId` String,
6 `total` AggregateFunction(count),
7 `success` AggregateFunction(count, Nullable(UInt8)),
8 `degraded` AggregateFunction(count, Nullable(UInt8)),
9 `error` AggregateFunction(count, Nullable(UInt8))
10
11ENGINE "AggregatingMergeTree"
12ENGINE_PARTITION_KEY "toYYYYMM(time)"
13ENGINE_SORTING_KEY "monitorId, time"
14ENGINE_TTL "time + toIntervalDay(14)"