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

Fix regression introduced by #638 #676

Open olivierHa opened 6 years ago

olivierHa commented 6 years ago

Hello

Fixing #638 has introduced a regression with commit ad3862d76c583f9ec623758344165da11cef8c62 Indeed, user isn't defined.

Regards

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 24.667% when pulling c4ea8f8cfecb593e010de3260da82b0dc391b2d2 on olivierHa:bugfix/user_not_defined into f2bece462577a7c557be8a9f90f6b9340c3db571 on python-diamond:master.

JakSla commented 6 years ago

this can also be used as an alternative user = config['server']['user']

shortdudey123 commented 2 years ago

Can you rebase on master? As a side note, the alternative mentioned above won't work since user has two config sources, not one.