go-collectd
go-collectd copied to clipboard
Package api: Implement ValueList.Check().
This new function does a sanity check on a ValueList, e.g. checking that the Host field is set and that the number of values and DS names match.
In particular, the need to check for duplicate data source names came up in prometheus/collectd_exporter#78.