-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
110 lines (104 loc) · 2.67 KB
/
config.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
server:
host: localhost
port: 5050
plugins:
file_plugin:
- meta:
name: json_file_plugin
group: default
config:
dir_path: dev/data/json_pushes
extension: json
formatter_config:
format_type:
type: Json
- meta:
name: jinja_file_plugin
group: default
config:
dir_path: dev/data/jinja_pushes
extension: txt
formatter_config:
format_type:
type: Jinja
template: models_utilities/jinja_renderer/example-template.j2
filter_plugin:
- meta:
name: filter_plugin_1
group: default
config:
webhook_url: http://localhost:5050/push?filter=not name is filter_plugin_1
group_labels:
- action: Drop
regex: ^.*$
regex_target: Name
- action: Add
name: Label1
value: Value1
common_labels:
- action: Drop
regex: ^.*$
regex_target: Name
common_annotations:
- action: Replace
regex: ^.*$
regex_target: Value
replace_with: replaced Value!
replacement_target: Value
alerts_labels:
- action: Drop
regex: ^.*$
regex_target: Name
alerts_annotations: []
postgres_plugin:
- meta:
name: postgres_plugin_1
group: default
config:
connection_string: postgres://user:password@localhost:5432/database
max_connections: 15
connection_timeout:
secs: 10
nanos: 0
postgres_sea_plugin:
- meta:
name: postgres_sea_plugin_1
group: default
config:
connection_string: postgres://user:password@localhost:5434/database
max_connections: 15
connection_timeout:
secs: 10
nanos: 0
postgres_x_plugin:
- meta:
name: postgres_x_plugin_1
group: default
config:
connection_string: postgres://user:password@localhost:5433/database
max_connections: 15
connection_timeout:
secs: 10
nanos: 0
print_plugin:
- meta:
name: debug_print_plugin
group: default
config:
formatter_config:
format_type:
type: Debug
- meta:
name: jinja_print_plugin
group: default
config:
formatter_config:
format_type:
type: Jinja
template: models_utilities/jinja_renderer/example-template.j2
sqlite_plugin:
- meta:
name: sqlite_plugin_1
group: default
config:
connection_string: file:dev/data/db/sqlite.db