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

feature: Collector package #92

Open
SuperQ opened this issue May 19, 2022 · 0 comments
Open

feature: Collector package #92

SuperQ opened this issue May 19, 2022 · 0 comments

Comments

@SuperQ
Copy link
Member

SuperQ commented May 19, 2022

Add a collector package that makes it easy to build collector "plugins". This allows users to create exporters by assembling packages from other exporters.

For example, the node_exporter has this feautre:

func registerCollector(collector string, isDefaultEnabled bool, factory func(logger log.Logger) (Collector, error)) 

Some collectors will need custom configuration passed in, or connection information for downstream services (MySQL, PostgreSQL, BIND, etc).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant