add exporters
This commit is contained in:
parent
b205a8ba70
commit
194e640d2a
2 changed files with 31 additions and 0 deletions
|
@ -54,6 +54,9 @@ jobs:
|
||||||
cf)
|
cf)
|
||||||
target_host="cf.lan"
|
target_host="cf.lan"
|
||||||
;;
|
;;
|
||||||
|
exporters)
|
||||||
|
target_host="all"
|
||||||
|
;;
|
||||||
jellyfin)
|
jellyfin)
|
||||||
target_host="jf.lan"
|
target_host="jf.lan"
|
||||||
;;
|
;;
|
||||||
|
|
28
docker/exporters/docker-compose.yml
Normal file
28
docker/exporters/docker-compose.yml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
---
|
||||||
|
services:
|
||||||
|
node_exporter:
|
||||||
|
image: quay.io/prometheus/node-exporter:v1.8.2
|
||||||
|
container_name: node_exporter
|
||||||
|
command: "--path.rootfs=/host"
|
||||||
|
ports:
|
||||||
|
- 9100:9100
|
||||||
|
pid: host
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- /:/host:ro,rslave
|
||||||
|
|
||||||
|
cadvisor:
|
||||||
|
image: gcr.io/cadvisor/cadvisor:v0.50.0
|
||||||
|
container_name: cadvisor
|
||||||
|
ports:
|
||||||
|
- 9101:8080
|
||||||
|
volumes:
|
||||||
|
- /:/rootfs:ro
|
||||||
|
- /run:/run:ro
|
||||||
|
- /sys:/sys:ro
|
||||||
|
- /var/lib/docker/:/var/lib/docker:ro
|
||||||
|
- /dev/disk/:/dev/disk:ro
|
||||||
|
devices:
|
||||||
|
- /dev/kmsg
|
||||||
|
privileged: true
|
||||||
|
restart: unless-stopped
|
Loading…
Add table
Reference in a new issue