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

Export Jetty stats to Prometheus #2804

Merged
merged 3 commits into from
Oct 18, 2018
Merged

Conversation

merlimat
Copy link
Contributor

@merlimat merlimat commented Oct 17, 2018

Motivation

Expose Jetty stats for broker and proxy directly into Prometheus. The new metrics are :

jetty_requests_total 15.0
jetty_requests_active 0.0
jetty_requests_active_max 1.0
jetty_request_time_max_seconds 0.073
jetty_request_time_seconds_total 0.147
jetty_dispatched_total 15.0
jetty_dispatched_active 0.0
jetty_dispatched_active_max 1.0
jetty_dispatched_time_max 73.0
jetty_dispatched_time_seconds_total 0.147
jetty_async_requests_total 0.0
jetty_async_requests_waiting 0.0
jetty_async_requests_waiting_max 0.0
jetty_async_dispatches_total 0.0
jetty_expires_total 0.0
jetty_responses_total{code="1xx",} 0.0
jetty_responses_total{code="2xx",} 14.0
jetty_responses_total{code="3xx",} 0.0
jetty_responses_total{code="4xx",} 1.0
jetty_responses_total{code="5xx",} 0.0
jetty_stats_seconds 179.302
jetty_responses_bytes_total 137995.0

@merlimat merlimat added the type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages label Oct 17, 2018
@merlimat merlimat added this to the 2.3.0 milestone Oct 17, 2018
@merlimat merlimat self-assigned this Oct 17, 2018
@merlimat merlimat merged commit 4d16522 into apache:master Oct 18, 2018
@merlimat merlimat deleted the jetty-stats branch October 18, 2018 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants