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 Custom Chains #10

Open
nickbabcock opened this issue Oct 8, 2018 · 0 comments
Open

Support Custom Chains #10

nickbabcock opened this issue Oct 8, 2018 · 0 comments

Comments

@nickbabcock
Copy link
Owner

Collectd allows one to write custom filters / chains. See fc_register_match and fc_register_target in filter_chain.h. While I would like collectd_plugin to support chains, I don't have a use case so I haven't set aside any time to solve this issue.

It may be best to add a couple methods to PluginManager:

fn matchers(_config: Option<&[ConfigItem]>) -> Result<Vec<Matcher>, Error> {
    Vec::new()
}

fn targets(_config: Option<&[ConfigItem]>) -> Result<Vec<Target>, Error> {
    Vec::new()
}
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