-
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
New Logz.io output #5736
New Logz.io output #5736
Conversation
@glinton |
It's tempermental, don't worry about it. |
Happy to hear that. Anything else I forgot before it can be reviewed? |
@glinton Hi, do you know when someone can take a look at this PR? |
Thanks for the pull request @idohalevi, we will try to take a look as soon as we can, however we have quite the backlog right now so it may be some time yet. I notice this plugin pulls in a few new dependencies, some of them seem quite large, in particular leveldb. The logzio-go library also replicates a fair bit of Telegraf functionality, buffering, retries and even stores the buffer to disk. It may make more sense to not use this library and instead write a new client for the logzio HTTP API. |
@danielnelson Thank you |
I only flipped through the code briefly, it is possible I am misunderstanding it, but most of what concerned me was in https://github.com/logzio/logzio-go/blob/master/logziosender.go Here is the buffering, instead of sending it adds it to another queue: https://github.com/logzio/logzio-go/blob/master/logziosender.go#L193 Retries happen after the dequeue: https://github.com/logzio/logzio-go/blob/master/logziosender.go#L266 |
@danielnelson |
It is in the |
@danielnelson |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
@p-zak sorry for the extra commits, it's been a while since I wrote in go. Is it ok now? |
@idohalevi now it is hard to review because of a lot of files has been changed after your rebase |
@p-zak Not sure how can I change it. Any suggestions? Should we close this one and create a new one with the recent commit only? |
[](https://www.influxdata.com/slack) | ||
# Logz.io Output Plugin | ||
|
||
This plugin sends metrics to Logz.io over HTTPs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that you do not want to change main README.md
file. Something went wrong here...
It seems that sync between your fork and this Telegraf repo has not gone smoothly... I do not know to help with that... @ssoroka do you have any advice? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This branch is badly mangled with changes from master and other branches. Could you start a fresh branch off of master and apply only the changes you want to keep?
If you're trying to make the fork off of a local master, you need to update it first. make sure the Telegraf repo is added as a "remote" repo eg git remote add upstream [email protected]:influxdata/telegraf.git
, then something like..
git checkout master
git pull --ff-only upstream master
Required for all PRs: