consul_sd_configs:
- server: '127.0.0.1:5361'
services: ['auth', 'api', 'load-balancer', 'postgres']Prometheus knows how to scrape these services based on the configured metrics_path for the surrounding scrape config (default "/metrics").
And yes, for something like RabbitMQ or Postgres you need to run an exporter.
The repository you linked works with pre-0.14.0 configurations which are no longer valid.
As far as I can see the watched job names are also hard coded - which leaves you with another globalconfig you have to maintain.
Hi! looking at this, now you can left empty the service list and will scrape all the services (including consul default one :/), the question is, are any plans to implement the keyword tag specification so prometheus knows which ones are valid services to scrape?
Thank you!
Thank you!
--
You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-devel...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thank you!