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.
Please update this to use code similar to #654 since there is two sources for the user that can get used (see line 180). Log message on line 224 should be updated too.
ERROR: Failed to set UID/GID. global name 'user' is not defined