{"id":"aa5cc9d0-a738-4161-a7b4-019eb5b68c57","meta":{"name":"haproxy","version":"1.0","dashboardVersion":"1.x","description":"Dashboard for the telegraf input plug-in: HAProxy","author":"influxdata","license":"MIT","icon":"","url":"https://github.com/influxdata/telegraf/tree/master/plugins/inputs/haproxy"},"data":{"cells":[{"w":4,"h":4,"name":"HAProxy – Number of Servers","queries":[{"query":"select mean(\"active_servers\") AS active_servers, mean(\"backup_servers\") AS backup_servers FROM \":db:\".\":rp:\".\"haproxy\""}],"measurement":"haproxy"},{"w":4,"h":4,"name":"HAProxy – Sum HTTP 2xx","queries":[{"query":"SELECT non_negative_derivative(last(\"http_response.2xx\"), 1s) AS \"2xx\" FROM \":db:\".\":rp:\".\"haproxy\""}],"measurement":"haproxy"},{"w":4,"h":4,"name":"HAProxy – Sum HTTP 4xx","queries":[{"query":"SELECT non_negative_derivative(last(\"http_response.4xx\"), 1s) AS \"4xx\" FROM \":db:\".\":rp:\".\"haproxy\""}],"measurement":"haproxy"},{"w":4,"h":4,"name":"HAProxy – Sum HTTP 5xx","queries":[{"query":"SELECT non_negative_derivative(last(\"http_response.5xx\"), 1s) AS \"5xx\" FROM \":db:\".\":rp:\".\"haproxy\""}],"measurement":"haproxy"},{"w":4,"h":4,"name":"HAProxy – Frontend HTTP Requests/Second ","queries":[{"query":"SELECT mean(\"req_rate\") AS \"requests_per_second\" FROM \":db:\".\":rp:\".\"haproxy\""}],"measurement":"haproxy"},{"w":4,"h":4,"name":"HAProxy – Frontend Sessions/Second ","queries":[{"query":"SELECT non_negative_derivative(max(\"rate\")) AS \"sessions_per_second\" FROM \":db:\".\":rp:\".\"haproxy\""}],"measurement":"haproxy"},{"w":4,"h":4,"name":"HAProxy – Frontend Session Usage %","queries":[{"query":"SELECT non_negative_derivative(max(\"scur\")) / non_negative_derivative(max(\"slim\")) * 100 AS \"session_usage_percent\" FROM \":db:\".\":rp:\".\"haproxy\""}],"measurement":"haproxy"},{"w":4,"h":4,"name":"HAProxy – Frontend Security Denials/Second","queries":[{"query":"SELECT non_negative_derivative(max(\"dreq\")) AS \"denials_per_second\" FROM \":db:\".\":rp:\".\"haproxy\""}],"measurement":"haproxy"},{"w":4,"h":4,"name":"HAProxy – Frontend Request Errors/Second","queries":[{"query":"SELECT non_negative_derivative(max(\"ereq\")) AS \"errors_per_second\" FROM \":db:\".\":rp:\".\"haproxy\""}],"measurement":"haproxy"},{"w":4,"h":4,"name":"HAProxy – Frontend Bytes/Second","queries":[{"query":"SELECT non_negative_derivative(max(\"bin\")) AS \"bytes_in_per_second\" FROM \":db:\".\":rp:\".\"haproxy\""},{"query":"SELECT non_negative_derivative(max(\"bout\")) AS \"bytes_out_per_second\" FROM \":db:\".\":rp:\".\"haproxy\""}],"measurement":"haproxy"},{"w":4,"h":4,"name":"HAProxy – Backend Average Response Time (ms)","queries":[{"query":"SELECT max(\"rtime\") AS \"response_time\" FROM \":db:\".\":rp:\".\"haproxy\""}],"measurement":"haproxy"},{"w":4,"h":4,"name":"HAProxy – Backend Connection Errors/Second","queries":[{"query":"SELECT non_negative_derivative(max(\"econ\")) AS \"errors_per_second\" FROM \":db:\".\":rp:\".\"haproxy\""}],"measurement":"haproxy"},{"w":4,"h":4,"name":"HAProxy – Backend Queued Requests/Second","queries":[{"query":"SELECT non_negative_derivative(max(\"qcur\")) AS \"queued_per_second\" FROM \":db:\".\":rp:\".\"haproxy\""}],"measurement":"haproxy"},{"w":4,"h":4,"name":"HAProxy – Backend Average Request Queue Time (ms)","queries":[{"query":"SELECT max(\"qtime\") AS \"queue_time\" FROM \":db:\".\":rp:\".\"haproxy\""}],"measurement":"haproxy"},{"w":4,"h":4,"name":"HAProxy – Backend Error Responses/Second","queries":[{"query":"SELECT max(\"eresp\") AS \"error_response_rate\" FROM \":db:\".\":rp:\".\"haproxy\""}],"measurement":"haproxy"}]}}