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 a potential variable misuse bug #765

Closed LostBenjamin closed 2 years ago

LostBenjamin commented 2 years ago

Hi,

This pull request is a fix to a potential variable misuse bug at src/diamond/handler/datadog.py. Please check the changes.

Best, Jingxuan