-
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: support of Juniper GNMI Extension Header in gnmi input plugin #13116
Conversation
Thanks so much for the pull request! |
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.
Thank you for taking the time to put up a PR! Also happy to hear it is in use :)
I've done a quick first pass, but nothing of major concern I think. Give my comments a look over and we can do a deeper look after updates.
For tests to fully run, you will want to ensure you do this as well. |
!signed-cla |
Co-authored-by: Joshua Powers <[email protected]>
I fixed all your comments. |
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 for the quick turn around. I have 3 questions below, but I also pushed two changes to clean things up a little bit, and get tests passing.
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.
Great, a few minor remarks left..
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.
Thank you!
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 for the nice feature @door7302. I have two small comments...
Chnages have been done. |
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.
Co-authored-by: Thomas Casteleyn <[email protected]>
Merge branch 'master' of https://github.com/door7302/telegraf
Download PR build artifacts for linux_amd64.tar.gz, darwin_amd64.tar.gz, and windows_amd64.zip. 📦 Click here to get additional PR build artifactsArtifact 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.
LGTM. Thanks for your contribution @door7302!
Required for all PRs
resolves #13115
This implementation has been tested at scale without any issue, performance impact. Sample output:
{"fields":{"/junos/firewall/state/timestamp":1680619403},"name":"","tags":{"component":"PFE","component_id":"0","host":"rtme-ubuntu-02","name":"DROP_FTF","path":"/junos/firewall/state","source":"rtme-mx-25.englab.juniper.net","sub_component_id":"0"},"timestamp":1681979776}
A specific test case has been developed as well to valide the behavior of this enhancement.