Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ services:
- /sys:/sys:ro
- /var/lib/docker:/var/lib/docker:ro
#- /cgroup:/cgroup:ro #doesn't work on MacOS only for Linux
command:
- '-housekeeping_interval=10s'
- '-docker_only=true'
restart: unless-stopped
expose:
- 8080
Expand Down
2 changes: 1 addition & 1 deletion prometheus/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ scrape_configs:
- targets: ['nodeexporter:9100']

- job_name: 'cadvisor'
scrape_interval: 5s
scrape_interval: 15s
static_configs:
- targets: ['cadvisor:8080']

Expand Down