c4dt / d-voting

📧 E-Voting platform based on the Dela blockchain
https://dedis.github.io/d-voting
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Get to know Prometheus #166

Open ineiti opened 3 months ago

ineiti commented 3 months ago

From Giovanni:

  1. the prometheus exporter seams not to be started by default on the nodes
  2. it is possible to enter the container running the node and somehow start the metric exporter with /usr/local/bin/dvoting metrics start but the command does not accept any option to configure the listen address nor the path of the daemon.sock file. This means that it will listen to 127.0.0.1:9100 which is not reacheable from the traefik container.
  3. reading the source code, I found a --promaddr commandline option which I have tried with a local docker-compose but it does not trigger the startup of the prom exporter