I can see the docker metrics at http://localhost:8080/metrics but prometheus can't connect
prometheus.yml
- job_name: cadvisor
metrics_path: /metrics
static_configs:
- targets: ['cadvisor:8080']
error
Get "http://cadvisor:8080/metrics": context deadline exceeded
Check prometheus.yml with promtool check config prometheus.yml and throw SUCCESS: 0 rule files found