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