pgterminate/config.yaml.example

32 lines
718 B
Text
Raw Normal View History

2018-06-10 08:44:53 +02:00
---
2018-06-30 10:53:19 +02:00
#host: 127.0.0.1
#port: 5432
#user: test
#password: ****
#interval: 1
#connect-timeout: 3
#idle-timeout: 300
#active-timeout: 10
#log-file: /var/log/pgterminate/pgterminate.log
2019-02-16 11:47:30 +01:00
#log-format: 'pid=%p user=%u db=%d client=%r state=%s state_duration=%m query=%q'
2018-06-30 10:53:19 +02:00
#pid-file: /var/run/pgterminate/pgterminate.pid
2018-06-24 16:39:36 +02:00
#log-destination: console|file|syslog
2018-06-24 16:10:26 +02:00
#syslog-ident: pgterminate
#syslog-facility: LOCAL0
2018-06-30 10:44:58 +02:00
#include-users:
# - user1
# - user2
2018-06-30 10:44:58 +02:00
#include-users-regex: "(user1|user2)"
#exclude-users:
# - user1
# - user2
2018-06-30 10:44:58 +02:00
#exclude-users-regex: "(user1|user2)"
#include-databases:
# - db1
# - db2
#include-databases-regex: "(db1|db2)"
#exclude-databases:
# - db1
# - db2
#exclude-databases-regex: "(db1|db2)"
#cancel: true