roll your own service discovery
play

Roll your own Service Discovery Simon Pasquier @SimonHiker - PowerPoint PPT Presentation

Roll your own Service Discovery Simon Pasquier @SimonHiker Prometheus Service Discovery Avoid static configuration files No reloading Always up-to-date Currently supported Files DNS Consul Kubernetes Marathon


  1. Roll your own Service Discovery Simon Pasquier @SimonHiker

  2. Prometheus Service Discovery Avoid static configuration files No reloading Always up-to-date

  3. Currently supported Files ● DNS ● Consul ● Kubernetes ● Marathon ● “Major” cloud providers ●

  4. Add more? Sorry but no new Service Discovery are being added :-(

  5. Add more? Sorry but no new Service Discovery are being added :-(

  6. Add more? Sorry but no new Service Discovery are being added :-(

  7. Add more? Sorry but no new Service Discovery are being added :-(

  8. Add more? Sorry but no new Service Discovery are being added :-(

  9. But why?

  10. But why?

  11. What then? https://prometheus.io/blog/2018/07/05/implementing-custom-sd/

  12. How it works query API Prometheus SD app targets service read write SD file

  13. Concrete example https://github.com/scaleway/prometheus-scw-sd https://github.com/simonpasquier/prometheus-scaleway-sd ~ 200 lines of code

  14. Things to look after Take care of removed/deleted targets. ● Instrument your SD application. ● Add yourself to the Prometheus documentation. ●

Recommend


More recommend