-
Notifications
You must be signed in to change notification settings - Fork 11
/
quickstart_schema.yaml
75 lines (68 loc) · 1.19 KB
/
quickstart_schema.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
base:
virtual: true
sql: >
SELECT
requests,
AVG(load_avg) AS load_avg
FROM inbound
GROUP BY *, period(15s)
combined:
retentionperiod: 1h
maxflushlatency: 30s
view: true
sql: >
SELECT *
FROM base
WHERE exclude IS NULL
derived:
retentionperiod: 1h
maxflushlatency: 30s
view: true
sql: >
SELECT requests + load_avg AS rpla
FROM combined
WHERE exclude IS NULL
partitioned:
retentionperiod: 1h
maxflushlatency: 30s
view: true
partitionby: [server,path]
sql: >
SELECT *
FROM combined
newish:
retentionperiod: 1h
backfill: 1s
maxflushlatency: 30s
view: true
partitionby: [server,path]
sql: >
SELECT *
FROM combined
backfilled:
retentionperiod: 1h
backfill: 30m
maxflushlatency: 30s
view: true
partitionby: [server,path]
sql: >
SELECT *
FROM combined
notbackfilled:
retentionperiod: 1h
backfill: 1s
maxflushlatency: 30s
view: true
partitionby: [server,path]
sql: >
SELECT *
FROM combined
notbackfilled2:
retentionperiod: 1h
backfill: 1s
maxflushlatency: 30s
view: true
partitionby: [server,path]
sql: >
SELECT *
FROM combined