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
dnstap: adds message_types option for filtering #6643
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
a5027f8
to
89dbadc
Compare
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6643 +/- ##
==========================================
+ Coverage 55.70% 59.28% +3.58%
==========================================
Files 224 252 +28
Lines 10016 13501 +3485
==========================================
+ Hits 5579 8004 +2425
- Misses 3978 4904 +926
- Partials 459 593 +134 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
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.
https://github.com/coredns/coredns/blob/master/plugin/dnstap/README.md should be updated as well
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
@rdrozhdzh thank you for the thorough reviews. I think I addressed all your comments, so I would appreciate it if you can take a look again! |
@mathetake , just curious, are you going to implement the dnstap message filtering based on the DNS response RCODE, as you mentioned in your original request? |
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
@rdrozhdzh actually, I am not planning to introduce that RCODE based filter as that seems not worth it vs the complexity in the API. |
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
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, looks good to me
kindly ping any codeowner for a quick look? |
I really hate to be nagging, and I understand all of you guys are busy doing other stuff, but by any chance could one of you code owners take a look? @johnbelamaric @miekg @Tantalor93 @chrisohaver @yongtang |
Note: I am completely open to discuss the naming of the option
1. Why is this pull request needed and what does it do?
This resolves #4198 and #6640 by introducing
message_types
configuration in thednstap
plugin.2. Which issues (if any) are related?
#4198 and #6640
3. Which documentation changes (if any) need to be made?
dnstap/README.md
4. Does this introduce a backward incompatible change or deprecation?
No.
I left this as draft until we agreed on the naming of the option. I would appreciate it if you folks can take a look @rdrozhdzh @miekg (pinging the people in the original issue #4198)