Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/scollector: fix empty host= tags not working after PR #1856 #1871
The add function in cmd/scollector/collectors/collectors.go uses host= to indicate that tag should be omitted
This should fix the vsphere errors on ny-bosun01:
My only worry is that the invariant for Clean is now violated. Clean should always result in a valid datapoint (can be sent and accepted by opentsdb as is), or an error. A solution more specific to AddTS might be to move the host fixing up above the call to Clean.