2020-09-04 18:22:49 +02:00
|
|
|
kafka:
|
|
|
|
servers:
|
2020-09-06 07:44:31 +02:00
|
|
|
- "kafka-f7ae38e-vladanovic-4654.aivencloud.com:23702"
|
|
|
|
topic: "sitestats"
|
|
|
|
cafile: "./certs/ca.pem"
|
|
|
|
cert: "./certs/service.cert"
|
|
|
|
key: "./certs/service.key"
|
|
|
|
passwd: ""
|
2020-09-04 18:22:49 +02:00
|
|
|
postgres:
|
2020-09-06 07:44:31 +02:00
|
|
|
dbhost: "pg-2e0f365c-vladanovic-4654.aivencloud.com"
|
|
|
|
dbport: 23700
|
|
|
|
dbname: "defaultdb"
|
|
|
|
dbuser: "avnadmin"
|
2020-09-04 18:22:49 +02:00
|
|
|
dbpass: ""
|
2020-09-06 07:44:31 +02:00
|
|
|
dbcert: "./certs/pg.pem"
|
2020-09-04 00:24:21 +02:00
|
|
|
sites:
|
2020-09-04 19:45:18 +02:00
|
|
|
- url: "https://dsadakjhkjsahkjh.com"
|
2020-09-04 00:24:21 +02:00
|
|
|
regex: "domain"
|
|
|
|
check_interval: 5
|
|
|
|
- url: "https://example.com"
|
|
|
|
regex: "aaaaaaaaaaaaa"
|
|
|
|
check_interval: 8
|
|
|
|
- url: "https://example.com/404"
|
|
|
|
check_interval: 13
|
2020-09-04 19:45:18 +02:00
|
|
|
logging:
|
|
|
|
version: 1
|
|
|
|
formatters:
|
|
|
|
standard:
|
|
|
|
format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
|
|
|
|
error:
|
|
|
|
format: "%(levelname)s <PID %(process)d:%(processName)s> %(name)s.%(funcName)s(): %(message)s"
|
|
|
|
handlers:
|
|
|
|
console:
|
|
|
|
class: logging.StreamHandler
|
|
|
|
level: DEBUG
|
|
|
|
formatter: standard
|
|
|
|
stream: ext://sys.stdout
|
|
|
|
root:
|
|
|
|
level: DEBUG
|
|
|
|
handlers: [console]
|
|
|
|
propogate: yes
|