Prometheus/Service Discovery roles
The first iteration of Prometheus with Service Discovery that shipped in 12.0 via !3295 (merged) still requires some manual configuration:
- Make exporters listen on external interface
- Enable Consul
We can make this even easier if we add some additional roles, or add to existing roles. The potentially trickiest part will be determining which exporters should be enabled for a given node. For example, a PostgreSQL database node should have the node_exporter and postgresql_exporter enabled and listening on an external interface.
Some 'manual' configuration will still be required for things like monitoring_whitelist
, consul retry_join
hosts, and a few other things. But at least users won't have to toggle listen addresses in most cases.