-
Notifications
You must be signed in to change notification settings - Fork 0
/
mrsm-compose.yaml
63 lines (56 loc) · 1.21 KB
/
mrsm-compose.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
root_dir: ./root
sync:
schedule: "every 20 seconds"
timeout_seconds: 20
pipes:
- connector: "plugin:stress"
metric: "test"
parameters:
upsert: true
- connector: "sql:demo"
metric: "test"
target: "stress_test"
parameters:
query: "SELECT * FROM plugin_stress_test"
upsert: true
columns:
datetime: "datetime"
id: "id"
- connector: "sql:demo"
metric: "test"
location: "1"
instance: "sql:local"
parameters:
query: "SELECT * FROM stress_test WHERE id = 1"
upsert: true
columns:
datetime: "datetime"
id: "id"
- connector: "sql:demo"
metric: "test"
location: "2_3"
instance: "sql:secret"
parameters:
query: "SELECT * FROM stress_test WHERE id IN ('2', '3')"
upsert: true
columns:
datetime: "datetime"
id: "id"
- connector: "plugin:stress"
metric: "test2"
temporary: true
parameters:
upsert: true
plugins:
- "stress"
config:
meerschaum:
instance: "sql:demo"
connectors:
sql:
demo:
database: "demo.db"
flavor: "sqlite"
secret:
uri: "${SECRET_URI}"
local: "MRSM{meerschaum:connectors:sql:local}"