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

CPUCollector: fix percore for psutil metrics and add optional derivative calculation #725

Closed michep closed 2 years ago

michep commented 5 years ago

Clean-up code, fix "percore" feature and add "derivative" option

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.03%) to 24.421% when pulling 340d050af107bcdcb3e20b349f1d99f8a915f61d on michep:cpucollector_patch into 0f3eb04327d6d3ed5e53a9967d6c9d2c09714a47 on python-diamond:master.