Reuses same logic as the plugins for filtering points, should be only
a marginal performance decrease to check all the points before writing
to the output.
Added examples to the README as well (for generic pass/drop as well as
output pass/drop/tagpass/tagdrop).
X-Github-Closes #398closes#398closes#401
godep seems to have a problem when dependencies have `internal`
packages. So removing `godep go build` and `godep go test` from the
build process in favor of just checking out the correct revisions using
`godep restore` into the regular GOPATH.
This basically means that we are not actually using anything within the
Godeps directory except Godeps.json. I should probably make a separate
go dependency management system that does this.
And unit test it using a sample response string. This will make it
easier to see what other metrics are available to the plugin for adding
future metrics.
This makes plugin configuration more similar to output configuration,
where we can specify multiple plugins as a list. The idea behind this is
that the Telegraf agent can handle the multi-processing and error
handling better than each plugin handling that internally. This will
also allow for having different plugin configurations for different
instances of the same type of plugin.
This means that simply adding /bin to the end is not enough. Instead of
setting GOBIN, this version prepends things to the PATH. If GOBIN is
already set, simply prepends GOBIN to PATH. If not, appends /bin to
each component of GOPATH, then prepends that to PATH.
closes#386
This will provide the ability to specify multiple outputs for a single
type of output.
In essence, allowing this:
[outputs]
[[outputs.influxdb]]
urls = ["udp://localhost:8089"]
database = "udp-telegraf"
[[outputs.influxdb]]
urls = ["http://myhost:8086"]
database = "telegraf"
[[outputs.kafka]]
brokers = ["192.168.99.100:9092"]
topic = "telegraf"
closes#335