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