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

Add aerospike plugin support #300

Closed

Conversation

oldmantaiter
Copy link
Contributor

  • Does not use the aerospike client, but sends the stats command
    using the aerospike required format
  • Queries available namespaces and gets stats for all of them

@oldmantaiter oldmantaiter force-pushed the aerospike-plugin branch 3 times, most recently from 3243645 to dc5162f Compare October 21, 2015 19:23
)

import (
"github.com/influxdb/telegraf/plugins"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why separated?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just the way I do it, anything that needs a go get is in the second import statement. Looking around it seems like that clashes with the current style, so I will change it to conform with that.

@sparrc
Copy link
Contributor

sparrc commented Oct 21, 2015

Thanks @oldmantaiter!, just a couple things:

@oldmantaiter
Copy link
Contributor Author

@sparrc Definitely forgot about the README, will add one. I will work on adding more unittests (they are not my forté but I will give it a shot).

@oldmantaiter oldmantaiter force-pushed the aerospike-plugin branch 8 times, most recently from 05d70a5 to 84d060a Compare October 21, 2015 20:56
- Does not use the aerospike client, but sends the stats command
  using the aerospike required format
- Queries available namespaces and gets stats for all of them
@oldmantaiter
Copy link
Contributor Author

@sparrc Added README, and a few more tests. I believe I have covered most of the functions that are in there besides the ones that call the server directly/indirectly. Let me know what you think.

@sparrc
Copy link
Contributor

sparrc commented Oct 21, 2015

awesome, thanks @oldmantaiter, will get this merged soon

@oldmantaiter
Copy link
Contributor Author

@sparrc Great! I do know that there are a lot of metrics that would get pushed because of this, I was thinking of adding some sort of globbing filter to match keys from the aerospike stats output.

Also wanted to know if instead of doing this via the stdlibs if I should just include the aerospike client library as a dependency; I was not sure if this is something that is currently allowed or if it should be avoided as much as possible.

@sparrc sparrc closed this in c5f2009 Oct 22, 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

Successfully merging this pull request may close these issues.

None yet

2 participants