-
Notifications
You must be signed in to change notification settings - Fork 359
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
Moving Collectors to 'available' so they are not enabled by default #239
Conversation
So is the expectation that distributions will package all these collectors using the |
Yes, I think I'll modify it to be a little different, like maybe have an "available", an "osx", a "freebsd" and try to put the current collectors in available and then the os specific ones in the other two folders. I'm not 100% sure how this one will work out yet, and I need to properly coordinate it with the packaging so that it works. I'm planning to build a build pipeline that will use Docker to build for RPM and DEB packages. I suspect I can integrate the Arista EOS build into that also. |
8fbcc9b
to
908cfd9
Compare
908cfd9
to
e6db8b8
Compare
That is the best I layout I have seen so far, but I feel like there is a better way still. |
What about collectors that work on OSX and Linux, but not FreeBSD? (or some such thing) Edit: Or more likely, base system collectors that work more globally |
I guess the packaging/install script could enable a set of collectors by default based on the OS. Or, we could have:
This would leave the collectors that work everywhere in global. We could also encourage collectors to make use of a "get_tcollector_platform()" function in utils that would essentially wrap platform.system(). This way a collector that could do most things on Linux and FreeBSD could politely decline to run on OSX, or if the available metrics were different, on each platform output what it could. |
@johann8384 , thank you for putting it all together!! I like the proposed structure and idea to enable global + OS specific collectors in packaging/install script. |
implemented and merged with the commit 881e215 Documentation updated to reflect the change: http://opentsdb.net/docs/build/html/user_guide/utilities/tcollector.html |
Closes #190