Skip to content
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

Merged
merged 2 commits into from
Aug 17, 2023

Conversation

josedonizetti
Copy link
Collaborator

@josedonizetti josedonizetti commented Aug 16, 2023

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

Copy link
Member

@geyslan geyslan left a 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".

@josedonizetti josedonizetti merged commit 7d4b8c2 into aquasecurity:main Aug 17, 2023
26 checks passed
@josedonizetti josedonizetti deleted the add-diagnostic-rpc branch August 17, 2023 13:09
Comment on lines +11 to +12
uint64 EventCount = 1;
uint64 EventsFiltered = 2;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: indentation

Comment on lines +23 to +24
Info = 0;
Debug = 1;
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants