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