-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Streaming structured events implementation #10801
Streaming structured events implementation #10801
Conversation
/azp run Azure.sonic-buildimage |
Please add unit tests. |
please resolve conflicts and build issues |
Add lua code and formatter for rsyslog plugin
for(long unsigned int j = 3; j < params.size(); j++) { | ||
auto delimPos = params[j].find(':'); | ||
string resultValue = matchResults[j + 1].str(); | ||
if(delimPos == string::npos) { // no lua code |
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.
Can we pre-parse this also as
struct {
string param_name;
string lua_code;
} param_list[]
You may simply check "if params[i].lua_code.empty()) { ... } else { use lua code}
* Add python tool to publish events for testing * Copy events publish tool to /usr/sbin * Add functionality to read from file * Add ability to read tag from file and take source as param * Add changes per peer review Co-authored-by: Ubuntu <zain@zb-dev-vm.022x1jpnpm4u1iy2d325acts3c.yx.internal.cloudapp.net>
This pull request introduces 2 alerts when merging edfde1e into 5d9a463 - view on LGTM.com new alerts:
|
stats & options update
This pull request introduces 2 alerts when merging ce3bcd8 into 46ebd06 - view on LGTM.com new alerts:
|
Depends on swsscommon PR #670 |
* Add volume test * Update volume test with comments
…navalan/sonic-buildimage into syslog_telemetry_shared
This pull request introduces 2 alerts when merging b6cf34b into 83704d9 - view on LGTM.com new alerts:
|
* Fix PR comments * Update with PR review comments * Fix LGTM warnings of publish tool * Fix bug in unit test * Change to ip to match yang model * Add changes per peer review
PR #11848 is created. Hence closing this. |
Why I did it
Implementation of HLD PR #954
Depends on swsscommon PR #649 and corresponding submodule update.
How I did it
How to verify it
With this PR in, you flap BGP and use events_tool to see the published events.
With telemetry PR #111 in and corresponding submodule update done in buildimage, one could run gnmi_cli to capture BGP flap events.
Which release branch to backport (provide reason below if selected)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)