Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addon: expose /metrics endpoints for Prometheus #49

Open
wants to merge 27 commits into
base: master
Choose a base branch
from

Commits on Nov 3, 2017

  1. Exposes /metrics endpoints for Prometheus scraping

    This reverts commit 22a314a.
    solsson committed Nov 3, 2017
    Configuration menu
    Copy the full SHA
    41cdfd6 View commit details
    Browse the repository at this point in the history
  2. Adds pod that can be used to estimate resource limits

    for jmx containers in kafka and zoo pods
    solsson committed Nov 3, 2017
    Configuration menu
    Copy the full SHA
    ffb89dd View commit details
    Browse the repository at this point in the history
  3. CPU limit on metrics export won't actually save any cycles

    It'll just make the requests slower.
    Dreadfully slow on Minikube (>30s even when limit is increased to 100m).
    solsson committed Nov 3, 2017
    Configuration menu
    Copy the full SHA
    51bbedb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8ec2045 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    11feb28 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    02c4b3e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a563220 View commit details
    Browse the repository at this point in the history
  8. The 1s response time from kafka might be due to ...

    that unlike zoo pods it actually exposes interesting data
    solsson committed Nov 3, 2017
    Configuration menu
    Copy the full SHA
    e8a61e7 View commit details
    Browse the repository at this point in the history
  9. interesting

    solsson committed Nov 3, 2017
    Configuration menu
    Copy the full SHA
    6d4ffc3 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    72cfc77 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    2b822b1 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    6d3b935 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    a4b51f4 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    8dbd7a1 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    d7d5044 View commit details
    Browse the repository at this point in the history
  16. Had 10 OOMKilled/hour with 100Mi so let's increase request,

    and with 150Mi limit I got zero restarts in 48 hours.
    solsson committed Nov 3, 2017
    Configuration menu
    Copy the full SHA
    b6c85eb View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    db52a3c View commit details
    Browse the repository at this point in the history
  18. Scrape less, and improve scrape time further ...

    through ssl=false and whitelist.
    
    Thanks to @yacut, see #49
    solsson committed Nov 3, 2017
    Configuration menu
    Copy the full SHA
    37e58e9 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    d4b95d2 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    0994950 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    e35d077 View commit details
    Browse the repository at this point in the history
  22. Adds directives from kafka's rules, now for pzoo too.

    But before this, how did the metrics container know which port to connect to?
    solsson committed Nov 3, 2017
    Configuration menu
    Copy the full SHA
    42d1b1a View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    253633f View commit details
    Browse the repository at this point in the history
  24. Merge pull request #61 from Yolean/metrics-jmx-zookeeper

    Try to get meaningful metrics from Zookeeper
    solsson committed Nov 3, 2017
    Configuration menu
    Copy the full SHA
    b0e6145 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    dc1c1da View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    4c35576 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    6a26cf3 View commit details
    Browse the repository at this point in the history