-
Notifications
You must be signed in to change notification settings - Fork 392
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: add diagnostic rpc #3395
feat: add diagnostic rpc #3395
Conversation
74da521
to
3ed44ec
Compare
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.
I would consider just to move the types/api/v1beta1/tracee.proto fix to a proper commit like "fix(protobuf): tracee.proto go_package".
3ed44ec
to
6cf7f2f
Compare
uint64 EventCount = 1; | ||
uint64 EventsFiltered = 2; |
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.
nit: indentation
Info = 0; | ||
Debug = 1; |
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.
Like discussed offline - info and debug should be switched
1. Explain what the PR does
This PR is part of the work to support a v1 for GRPC. It adds a diagnostic rpc for tracee debugging, this rpc can be used to get a stacktracee live from tracee, its metrics and change log levels. This PR also fixes the version on the tracee.proto, which should have been
v1beta1
2. Explain how to test it
3. Other comments