Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
some additions for collectd 5.0.0 #2
Conversation
… each metric, and types.db metric name lookups
|
Hmm.. I didn't see this pull request until now, sorry! |
some additions for collectd 5.0.0
Hi,
I'm currently implementing/testing collectd 5.0.0, and wanted to use this script to get the data into graphite (obviously). It was a bit broken and required a fix to the putval_re regex since the timestamps now have millisecond precision (also I made it greedier at the end of the line). Also, I hacked in support for multiple values being sent in the same metric, and then naming those individual values based on a types.db lookup. I've tested this and it works in my environment, but, I haven't written javascript since 1999 and I also did not put too much thought into the structure or variable names...so if there is a cleaner/more concise way to re-write any of this, feel free!
Thanks!
Don Johnson