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 602 forks source link

fix counter metric spike using statsD handler #769

Closed cdong8812 closed 8 months ago

cdong8812 commented 1 year ago
shortdudey123 commented 1 year ago

Can you modify only the needed if statement and not duplicate the entire code section including hasattr?

cdong8812 commented 10 months ago

Updated the PR