Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create collectd [python] plugin for writing metrics to file #6

Open
dpb587 opened this issue Aug 4, 2014 · 1 comment
Open

Create collectd [python] plugin for writing metrics to file #6

dpb587 opened this issue Aug 4, 2014 · 1 comment

Comments

@dpb587
Copy link
Contributor

dpb587 commented Aug 4, 2014

Currently we're using nc to locally store the metrics collectd is gathering. This is the lazy way. This should really be a collectd plugin of some sort to avoid the extra process and graphite plugin delay.

See also: #4 (comment)

@dpb587
Copy link
Contributor Author

dpb587 commented Jun 19, 2015

Note, this can also lead to partial metric names getting into the system because the collectd builtin does buffered writes which leads to incomplete lines in the file which may get picked up when processes are restarted. Can result in confusing terms aggregations on metric name.

$ tail /var/vcap/sys/log/logsearch-shipper/metrics-collectd.metrics.log
host.df_xvda1.df_complex_reserved 170323968.000000 1434730007
host.df_xvda1.df_complex_used 1343905792.000000 1434730007
hos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant