-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.yml
More file actions
69 lines (63 loc) · 1.56 KB
/
config.yml
File metadata and controls
69 lines (63 loc) · 1.56 KB
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
monitors:
# HTTP service monitoring
- name: "HTTP Service"
type: "http"
interval: "30s"
timeout: "5s"
http:
url: "http://helloworld-http:8080/ping"
method: "GET"
headers:
Authorization: "Bearer secret-token"
Content-Type: "application/json"
# Postgres monitoring
- name: "PostgreSQL Service"
type: "database"
interval: "30s"
timeout: "10s"
database:
driver: "postgres"
connection_string: "postgres://postgres:postgres@postgres-db:5432/monitoring?sslmode=disable"
query: "SELECT 1"
# MySQL monitoring
- name: "MySQL Service"
type: "database"
interval: "30s"
timeout: "10s"
database:
driver: "mysql"
connection_string: "root:mysql@tcp(mysql-db:3306)/monitoring"
query: "SELECT 1"
# MariaDB monitoring
- name: "MariaDB Service"
type: "database"
interval: "30s"
timeout: "10s"
database:
driver: "mariadb"
connection_string: "root:mariadb@tcp(mariadb-db:3306)/monitoring"
query: "SELECT 1"
# Redis monitoring (primary)
- name: "Redis Service Primary"
type: "database"
interval: "5s"
timeout: "5s"
database:
driver: "redis"
database: "1"
host: "redis-db"
port: 6379
password: "redispassword"
# MSSQL monitoring
- name: "MSSQL Service"
type: "database"
interval: "30s"
timeout: "10s"
database:
driver: "mssql"
host: "mssql-db"
port: 1433
username: "SA"
password: "Password1!"
database: "master"
query: "SELECT 1"