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

dnsdist: Compute backend latency earlier, to avoid internal latency #11707

Merged
merged 4 commits into from
Jun 22, 2022

Conversation

rgacogne
Copy link
Member

Short description

Also properly report the latency as TCP when forwaring a query received over UDP to TCP-only, DoT and DoH backends.
And export the TCP latency in the prometheus and API metrics.

Checklist

I have:

  • read the CONTRIBUTING.md document
  • compiled this code
  • tested this code
  • included documentation (including possible behaviour changes)
  • documented the code
  • added or modified regression test(s)
  • added or modified unit test(s)

Also properly report the latency as TCP when forwaring a query received
over UDP to TCP-only, DoT and DoH backends.
Exports the TCP latency in the prometheus and API metrics.
Copy link
Member

@Habbie Habbie left a comment

Choose a reason for hiding this comment

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

looks fine except for the stray cerr

pdns/dnsdist.cc Outdated Show resolved Hide resolved
@rgacogne rgacogne requested a review from Habbie June 22, 2022 08:59
@rgacogne rgacogne merged commit 9945d41 into PowerDNS:master Jun 22, 2022
@rgacogne rgacogne deleted the ddist-latencies branch June 22, 2022 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants