-
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
feat(inputs.logstash): Record number of failures #9185
Conversation
Thanks so much for the pull request! |
🤝 ✒️ Just a reminder that the CLA has not yet been signed, and we'll need it before merging. Please sign the CLA when you get a chance, then post a comment here saying |
!signed-cla |
Looks like new artifacts were built from this PR. Get them here!Artifact URLs |
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.
Makes sense, just curious about adding it as a new metric with the same name vs adding a field to the existing metric, is that necessary?
About adding a new field to the existing metric: where do you sugest to add it? |
@bartigor sorry you haven't received a response in a while, are you still interested in working on this pull request? I think having it in a separate metric will probably be fine. I was wondering how you were planning on using the number of failures, wouldn't you need more context around those failures to make them a useful metric? |
I use this metric in my production to detect microservices that have changed the log format. So far, just the number of failures is enough for me? and if they have grown sharply, then it means that it is correctly parsed. You can probably expand the context, but so far I have not thought about how to do it better. |
Thank you for the context, if you could rebase your pull request against the latest master branch to have CI run again that would be great. |
It didn’t work to automatically merge master, a long time passed, and the master went ahead. I'll fix it when the time comes. |
…af into logstash_plugin_failures
@bartigor looks like the tests are failing due to some syntax issues, do you have time to resolve them? |
I fixed it, everything seems to compile and pass |
@bartigor sorry seems the unit tests didn't get triggered, I triggered them manually and they are failing with:
|
fixed |
added a metric for counting errors by plugins on logstash input plugin
resolves #
I added the collection of metrics for the number of failures in the Logstash Input Plugin