indygreg/collectd-carbon — pull request #10 by TimBaldoni (2011-10-22 03:14:01+00:00)
Title: replace '.' with '-' in metrics to avoid long graphite paths

replace '.' with '-' in metrics to avoid long graphite paths. An ntpd check of 10.0.0.1, for instance, becomes hostname.ntpd.time_offset.10-0-0-1 (4 deep) instead of hostname.ntpd.time_offset.10.0.0.1 (7 deep).