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

[WIP] Move dns_instrument from onCompleted to onHeadersReceived #1021

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

englehardt
Copy link
Collaborator

Fixes #1020 WIP. I haven't tested this much.

@codecov-commenter
Copy link

codecov-commenter commented Jan 12, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7b8cf99) 45.74% compared to head (8a855a4) 45.74%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1021   +/-   ##
=======================================
  Coverage   45.74%   45.74%           
=======================================
  Files          35       35           
  Lines        3478     3478           
=======================================
  Hits         1591     1591           
  Misses       1887     1887           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vringar
Copy link
Contributor

vringar commented Jan 12, 2023

Good Catch! Does this also resolve the issue where DNS requests for domains that don't resolved aren't captured?

@englehardt
Copy link
Collaborator Author

I'm not sure. I'll need to write a test page for both of these conditions.

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.

DNS Instrument only records the final request in a redirect chain
3 participants