python-diamond / Diamond

Diamond is a python daemon that collects system metrics and publishes them to Graphite (and others). It is capable of collecting cpu, memory, network, i/o, load and disk metrics. Additionally, it features an API for implementing custom collectors for gathering metrics from almost any source.
http://diamond.readthedocs.org/
MIT License
1.74k stars 601 forks source link

add support string metric values for haproxy #683

Closed dontreboot closed 2 years ago

dontreboot commented 6 years ago

there are few haproxy metrics have non-numeric values and they are just as useful as the numeric counterparts. string metric values will be appended to the initial metric name and value will be set to 1

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 24.667% when pulling 8d0ad340eba1625fec6821e70d28308af3d99ab9 on dontreboot:master into f2bece462577a7c557be8a9f90f6b9340c3db571 on python-diamond:master.