sensu-plugins / sensu-plugins-haproxy

This plugin provides native HAProxy instrumentation for monitoring and metrics collection, including: service health and backend server metrics.
http://sensu-plugins.io
MIT License
11 stars 37 forks source link

Add frontend request rate metrics to --server-metrics #24

Closed Evesy closed 7 years ago

Evesy commented 7 years ago

Pull Request Checklist

RE https://github.com/sensu-plugins/sensu-plugins-haproxy/issues/22

General

Purpose

As per linked issue there are currently some frontend metrics that are not collected as part of the --server-metrics config option that would prove useful for plugin users.

This change adds metrics for requests per second, max requests per second & total requests.

Known Compatability Issues

n/a

majormoses commented 7 years ago

@Evesy need a testing artifact either automated or screenshot, gist, etc demonstrating input and output.

Evesy commented 7 years ago

Is this gist sufficient for this change?

majormoses commented 7 years ago

@Evesy yup, I will review this again tonight and hopefully release.

majormoses commented 7 years ago

released: https://rubygems.org/gems/sensu-plugins-haproxy/versions/1.1.0