-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Change node_name to be a tag in aerospike input #2918
Conversation
Without this all nodes would create conflicting series.
@popov-ilya Can you test this change? Here is the amd64 build. |
Now it gives 4 times more series, but i can finally get correct data. Thank you! |
I didn't see a way to determine which node is the "local" one using aerospike-client-go, though I didn't look too deeply. If we did have a way we could potentially add an option to allow switching between full cluster and local node only mode, similar to what we have for elasticsearch. This is technically a breaking change, but I think it must be done since otherwise this input is totally unusable with multiple nodes. |
Don't know about other outputs, but in prometheus i can drop unnecessary series when pulling it from telegraf. So tottally fine for me. |
Great, it is also possible for any output/input to use the tagpass/tagdrop options to prevent some of the series from being output. |
@danielnelson You cold use RequesInfo() and pass a connection to localhost (or another target address). |
Without this all nodes would create conflicting series.
fixes #2917
Required for all PRs: