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