-
Notifications
You must be signed in to change notification settings - Fork 6
/
config.example.yml
56 lines (49 loc) · 903 Bytes
/
config.example.yml
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
# debug mode
debug: false
# getting metric details
details: true
# hostname specified
hostname: ""
# agent collect interval
interval: 10
# push batch-size metrics per-operation
batchsize: 100
# enable functions
enabled:
collect: true
witch: true
log_rotate: true
# http client settings (timeout in seconds)
http:
conn_timeout: 10
response_timeout: 10
# RabbitMQ settings
rabbitmq:
host: 127.0.0.1
port: 15672
user: admin
password: admin
# falcon settings
falcon:
api: "http://127.0.0.1:1988/v1/push"
# scheduler config
scheduler:
log_rotate: "0 11 18 ? * 0-6"
# witch config
witch:
listen: ":5671"
control: "buildin"
service: ""
command: "sleep 120"
process: "beam"
pid_file: "var/run/witch.pid"
auth:
admin: "ADMIN"
# filter for queues
ignore_queue:
- "test"
- "celery"
# status which indicate queue's running state
qrunning:
- "idle"
- "running"