-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[system-probe] Add stats for DNS successes, errors, and queries #6130
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
Conversation
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.
did we also want to track packets that couldn't be mapped to a connection ?
pkg/ebpf/bytecode/tracer-ebpf.go
Outdated
@@ -755,7 +755,7 @@ func bindataPkgEbpfCTracerebpfdebugo() (*asset, error) { | |||
name: "pkg/ebpf/c/tracer-ebpf-debug.o", | |||
size: 59848, | |||
md5checksum: "", | |||
mode: os.FileMode(436), | |||
mode: os.FileMode(420), |
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.
FYI we're going to stop embedding the binaries inside the executable, so these changes should stop appearing
The stats are based on what is done on the snooper side - so it includes all DNS queries/responses irrespective of whether we can associate them with a connection or not. |
What does this PR do?
Adds stats for
No explicit count for
Timeouts
. It should be1 - (2 + 3)
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
Describe your test plan
Write there any instructions and details you may have to test your PR.