Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support pass/drop/tagpass/tagdrop parameters for outputs #398

Closed
sparrc opened this issue Nov 28, 2015 · 0 comments
Closed

Support pass/drop/tagpass/tagdrop parameters for outputs #398

sparrc opened this issue Nov 28, 2015 · 0 comments

Comments

@sparrc
Copy link
Contributor

sparrc commented Nov 28, 2015

see #397

Make it so that outputs can drop/pass metrics based on their name and/or tags, allowing configurations like this:

[[outputs.influxdb]]
database = "A"
[outputs.influxdb.tagpass]
mytag = ["A"]

[[outputs.influxdb]]
database = "B"
[outputs.influxdb.tagpass]
mytag = ["B"]

cc @oldmantaiter @schen59

oldmantaiter added a commit to oldmantaiter/telegraf that referenced this issue Nov 29, 2015
Reuses a lot of the logic for the plugin configuration, and changed
the ConfiguredPlugin struct to be ConfiguredFilter and a generic
function to parse the filter (called parseFilter).

X-Github-Closes influxdata#398
oldmantaiter added a commit to oldmantaiter/telegraf that referenced this issue Nov 29, 2015
Reuses a lot of the logic for the plugin configuration, and changed
the ConfiguredPlugin struct to be ConfiguredFilter and a generic
function to parse the filter (called parseFilter).

X-Github-Closes influxdata#398
oldmantaiter added a commit to oldmantaiter/telegraf that referenced this issue Dec 1, 2015
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 influxdata#398
oldmantaiter added a commit to oldmantaiter/telegraf that referenced this issue Dec 1, 2015
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 influxdata#398
oldmantaiter added a commit to oldmantaiter/telegraf that referenced this issue Dec 1, 2015
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 influxdata#398
oldmantaiter added a commit to oldmantaiter/telegraf that referenced this issue Dec 2, 2015
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 influxdata#398
oldmantaiter added a commit to oldmantaiter/telegraf that referenced this issue Dec 3, 2015
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 influxdata#398
oldmantaiter added a commit to oldmantaiter/telegraf that referenced this issue Dec 3, 2015
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 influxdata#398
@sparrc sparrc closed this as completed in 22afc99 Dec 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant