diff --git a/docker-compose.yml b/docker-compose.yml index 8148432..eb6d15d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ prometheus: build: "/prom/" expose: - "9090" -prom_exporter: +exporter: image: "prom/prom_container-exporter" volumes: - "/sys/fs/cgroup:/cgroup" diff --git a/prom/documentation/examples/prometheus.yml b/prom/documentation/examples/prometheus.yml index 30d1c3e..7a22f3b 100644 --- a/prom/documentation/examples/prometheus.yml +++ b/prom/documentation/examples/prometheus.yml @@ -27,4 +27,4 @@ scrape_configs: # scheme defaults to 'http'. target_groups: - - targets: ['localhost:9090','prom_exporter:9104','prom_dash:3000'] + - targets: ['localhost:9090','exporter:9104','promdash:3000']