pushing prometheus until it breaks
play

Pushing Prometheus until it breaks. The bumpy road to a fully - PowerPoint PPT Presentation

Pushing Prometheus until it breaks. The bumpy road to a fully automated benchmarking. Krasi Georgiev, Harsh Agarwal @krazygeorgiev @thesipian Prometheus Krasi Georgiev no problem if you pronounce it crazy Climbing and Carrots


  1. Pushing Prometheus until it breaks. The bumpy road to a fully automated benchmarking. Krasi Georgiev, Harsh Agarwal @krazygeorgiev @thesipian Prometheus

  2. Krasi Georgiev no problem if you pronounce it “crazy” Climbing and Carrots github.com/krasi-georgiev Prometheus

  3. Krasi Georgiev no problem if you pronounce it “crazy” Prometheus maintainer from March Climbing and Carrots github.com/krasi-georgiev Prometheus

  4. Krasi Georgiev no problem if you pronounce it “crazy” Prometheus maintainer from March Part of the Prometheus team. Climbing and Carrots github.com/krasi-georgiev Prometheus

  5. Prometheus in Red Hat ● Openshift ● Kiali ● Operations monitoring Prometheus

  6. Harsh Agarwal ● Undergraduate student from ● Google Summer of Code 2018 intern for Prometheus ○ Mentors ■ Krasi Georgiev ■ Goutham Veeramachaneni @thesipian github.com/sipian Prometheus

  7. Is prometheus ready for a new release? Prometheus

  8. I day of a Prometheus maintainer. Prometheus

  9. Wake up and get ready for work. Prometheus

  10. Sounds Familiar? User: My Prometheus is broken please help! Me: Hey man I am not a psychic , give some details. User: 100 lines config scraping 3500 targets. Me: ooooo sh*t…. replicate this locally…........? Prometheus

  11. Why benchmarking? Why not just unit and e2e tests? ● Memory leaks appear at high load and happen over a long period. ● Compaction can be tested only with long running tests. Prometheus

  12. Why Prow CI? ● Build by the k8s testing team and runs on k8s each job is a via pod deployments ○ ● Integrates nicely with github triggers via github comments ○ ● Written in golang ● Easy to extend via plugins ● Used by k8s, openshift, istio, jetstack Extended discussions: https://goo.gl/CuKsMB Prometheus

  13. Didn’t make the finals. ● Drone CI No comment triggers (WIP) ○ I bit hacky to make it run jobs on k8s(WIP) ○ ● Packet - Cloud on Bare Metal kudos to their amazing team for helping. ○ decided to use GKE to avoid the k8s bootstrapping ○ ● terraform , kubectl Prefer to troubleshoot few lines of golang code ○ Life is too short to learn new tools :) ○ The prombench tool is easy to use and no dependencies ○ Prometheus

  14. Recorded Demo? https://github.com/prometheus/prombench Prometheus

  15. Life of a Bench test https://github.com/prometheus/prombench Prometheus

  16. Life of a Bench test https://github.com/prometheus/prombench Prometheus

  17. Life of a Bench test https://github.com/prometheus/prombench Prometheus

  18. Life of a Bench test https://github.com/prometheus/prombench Prometheus

  19. Life of a Bench test https://github.com/prometheus/prombench Prometheus

  20. Life of a Bench test https://github.com/prometheus/prombench Prometheus

  21. Life of a Bench test https://github.com/prometheus/prombench Prometheus

  22. Life of a Bench test https://github.com/prometheus/prombench Prometheus

  23. Life of a Bench test https://github.com/prometheus/prombench Prometheus

  24. Life of a Bench test https://github.com/prometheus/prombench Prometheus

  25. Life of a Bench test https://github.com/prometheus/prombench Prometheus

  26. Life of a Bench test https://github.com/prometheus/prombench Prometheus

  27. Results example PR vs Master Prometheus

  28. This is only the beginning! Document how to run manually without prow. ● Catch Races with the -- race detector. ● Add Service Discovery tests. ● Automated Scalability tests. ● post results with every release ○ New cli commands ● `promtool debug` - gather metrics/profile data ○ `tsdb scan` - scan and repair/delete corrupted blocks(WIP). ○ Prometheus

  29. the Big thanks Positively surprised of how much support we received from everyone. Packet , Google , RedHat(for letting me work on this). ● Goutham, Frederic , Max for providing feedback along the way ● Julius - for putting us in touch with the CNCF for the GKE credit. ● Chris from the CNCF for setting up the google account. ● Fabian & Max for their first Prombench version. ● Many pieces were all ready to use. ○ The kubernetes-sig-testing team for introducing us to prow. ● https://github.com/cjwagner ○ https://github.com/krzyzacy ○ Prometheus

  30. Conclusion! If you don’t break = you don’t refactor and optimize. Prometheus

  31. Open source - Mesh observability Jaeger Istio Prometheus https://github.com/kiali/kiali Prometheus

  32. If you DON’T have any questions please ask them now. Questions for extreme sports are welcome :) Slides: https://goo.gl/ky5ZZX Code: https://github.com/prometheus/prombench Proposal: https://goo.gl/CuKsMB Prometheus

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend