stefanprodan / swarmprom

Docker Swarm instrumentation with Prometheus, Grafana, cAdvisor, Node Exporter and Alert Manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker version 18.09.2 (prometheus doesn't scrape nodes)

abriosi opened this issue · comments

Hi @stefanprodan,

First of all great repository and thanks for sharing. I noticed that on recent versions of Docker prometheus can't discover other nodes, more specifically,

Client:
 Version:           18.09.2
 API version:       1.39
 Go version:        go1.10.6
 Git commit:        6247962
 Built:             Sun Feb 10 04:13:47 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.2
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.6
  Git commit:       6247962
  Built:            Sun Feb 10 03:42:13 2019
  OS/Arch:          linux/amd64
  Experimental:     false

I'm pretty sure the problem is that prometheus is not able to discover the node-exporter on other nodes. I would be happy to adapt the package to a newer docker version. Can you provide some guidelines on how to debug or where to look?

image

I guess the ingress network of docker was not working. I'm closing down this issue