-
Notifications
You must be signed in to change notification settings - Fork 20
/
server.json
67 lines (67 loc) · 1.67 KB
/
server.json
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
{
"id": "/prometheus/server",
"instances": 1,
"cpus": 1,
"mem": 4096,
"ports": [0],
"env": {
"EXTERNAL_URI": "https://prometheus-server.example.com/",
"NODE_EXPORTER_SRV": "_node-exporter.prometheus._tcp.marathon.mesos",
"CADVISOR_SRV": "_cadvisor.prometheus._tcp.marathon.mesos",
"PAGERDUTY_HIGH_PRIORITY_KEY": "d230f2398hf293h2304f304j343f0j34",
"PAGERDUTY_LOW_PRIORITY_KEY": "d2302n3f4f4h39230f239f03g30jf24f",
"SMTP_FROM": "[email protected]",
"SMTP_TO": "[email protected]",
"SMTP_SMARTHOST": "smtp.example.com",
"SMTP_LOGIN": "someuser",
"SMTP_PASSWORD": "somepassword"
},
"container": {
"type": "DOCKER",
"volumes": [
{
"containerPath": "prometheus",
"persistent": {
"size": 10240
},
"mode": "RW"
}
],
"docker": {
"image": "lloesche/prometheus-dcos",
"forcePullImage": true,
"network": "BRIDGE",
"portMappings": [
{
"containerPort": 9090,
"protocol": "tcp",
"labels": {
"VIP_0": "/prometheus/server:9090"
}
},
{
"containerPort": 9093,
"protocol": "tcp",
"labels": {
"VIP_0": "/prometheus/server:9093"
}
}
]
}
},
"residency": {
"taskLostBehavior": "WAIT_FOREVER"
},
"labels": {
"HAPROXY_0_VHOST": "prometheus-server.example.com",
"HAPROXY_1_VHOST": "prometheus-alertmanager.example.com",
"HAPROXY_GROUP": "external"
},
"healthChecks": [
{
"path": "/api/v1/query?query=prometheus_build_info",
"portIndex": 0,
"protocol": "HTTP"
}
]
}