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

HAProxy: Requests per second is over the last elapsed second, and hence ... #1

Closed analytically closed 9 years ago

analytically commented 9 years ago

...may be empty in the stats.

This fixed Graphite reporting invalid lines because of no value.

mattyjones commented 9 years ago

@analytically Thanks for this. If you don't mind could you convert the unless to inline functions. I think the code is cleaner and more readable that way.

blah unless foo

Thanks