scylladb/scylla-monitoring

Wrong target volume mount path in docker-compose.yml example

jeftadlvw opened this issue · 0 comments

Please make sure that this is a documentation related

System information

Describe the situation now
When using the provided docker-compose.yml, Prometheus is unable to register ScyllaDB instances defined in prometheus/scylla_servers.yml, mounted at /etc/scylla.d/prometheus/node_exporter_servers.yml:

- ./prometheus/scylla_servers.yml:/etc/scylla.d/prometheus/node_exporter_servers.yml

This is because prometheus/prometheus.yml.template expects them at /etc/scylla.d/prometheus/targets/node_exporter_servers.yml (notice the extra targets directory) :

- /etc/scylla.d/prometheus/targets/node_exporter_servers.yml

The same counts for mounting /etc/scylla.d/prometheus/scylla_servers.yml and /etc/scylla.d/prometheus/scylla_manager_servers.yml:

- ./prometheus/scylla_servers.yml:/etc/scylla.d/prometheus/scylla_servers.yml

- ./prometheus/scylla_manager_servers.yml:/etc/scylla.d/prometheus/scylla_manager_servers.yml

What needs to be there
The correct mount path

Any Other info.

  • Source code references are on commit ba445e1c0458741d377b08c16b45d05f61b98279, which, at the time of writing, is the latest commit.
  • Local toy environment with Docker without a manager
  • I'm a ScyllaDB newbie :)