-
Notifications
You must be signed in to change notification settings - Fork 115
/
exporters.yml
68 lines (63 loc) · 1.84 KB
/
exporters.yml
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
version: "3"
services:
ha-proxy:
image: quay.io/prometheus/haproxy-exporter:${HA_PROXY_TAG:-latest}
networks:
- proxy
- monitor
deploy:
labels:
- com.df.notify=true
- com.df.scrapePort=9101
resources:
reservations:
memory: 20M
limits:
memory: 50M
command: --haproxy.scrape-uri="http://admin:admin@proxy/admin?stats;csv"
cadvisor:
image: google/cadvisor:${CADVISOR_TAG:-latest}
networks:
- monitor
volumes:
- /:/rootfs
- /var/run:/var/run
- /sys:/sys
- /var/lib/docker:/var/lib/docker
deploy:
mode: global
labels:
- com.df.notify=true
- com.df.scrapePort=8080
resources:
reservations:
memory: 30M
limits:
memory: 50M
node-exporter:
image: basi/node-exporter:${NODE_EXPORTER_TAG:-v1.15.0}
networks:
- monitor
environment:
- HOST_HOSTNAME=/etc/host_hostname
volumes:
- /proc:/host/proc
- /sys:/host/sys
- /:/rootfs
- /etc/hostname:/etc/host_hostname
deploy:
mode: global
labels:
- com.df.notify=true
- com.df.scrapePort=9100
resources:
reservations:
memory: 20M
limits:
memory: 50M
command: '--path.procfs="/host/proc" --path.sysfs="/host/sys" --collector.filesystem.ignored-mount-points="^/(sys|proc|dev|host|etc)($$|/)" --collector.textfile.directory="/etc/node-exporter/" --collector.conntrack --collector.diskstats --collector.entropy --collector.filefd --collector.filesystem --collector.loadavg --collector.mdadm --collector.meminfo --collector.netdev --collector.netstat --collector.stat --collector.textfile --collector.time --collector.vmstat --collector.ipvs'
networks:
monitor:
external: true
proxy:
external: true