Skip to content

Commit

Permalink
add a few more metrics we're interested in
Browse files Browse the repository at this point in the history
  • Loading branch information
wyattwalter committed Oct 23, 2014
1 parent a5897de commit f7c5455
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions haproxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
'bin': ('bytes_in', 'derive'),
'bout': ('bytes_out', 'derive'),
'chkfail': ('failed_checks', 'counter'),
'ConnRate': ('conn_rate', 'gauge'),
'CurrConns': ('connections', 'gauge'),
'CurrSslConns': ('ssl_connections', 'gauge'),
'downtime': ('downtime', 'counter'),
'dresp': ('denied_response', 'derive'),
'dreq': ('denied_request', 'derive'),
Expand All @@ -28,6 +30,7 @@
'hrsp_4xx': ('response_4xx', 'derive'),
'hrsp_5xx': ('response_5xx', 'derive'),
'hrsp_other': ('response_other', 'derive'),
'Idle_pct': ('idle_pct', 'gauge'),
'PipesUsed': ('pipes_used', 'gauge'),
'PipesFree': ('pipes_free', 'gauge'),
'qcur': ('queue_current', 'gauge'),
Expand All @@ -37,6 +40,7 @@
'req_rate': ('request_rate', 'gauge'),
'stot': ('session_total', 'counter'),
'scur': ('session_current', 'gauge'),
'SslRate': ('ssl_rate', 'gauge'),
'wredis': ('redistributed', 'derive'),
'wretr': ('retries', 'counter'),
'Uptime_sec': ('uptime_seconds', 'counter')
Expand Down

0 comments on commit f7c5455

Please sign in to comment.