[NO-TICKET] Profiling: Use system dns resolver by default#5449
Conversation
**What does this PR do?** This PR changes the default for the `experimental_use_system_dns` profiler setting from `false` to `true`. The setting is now `true` by default, meaning that the system DNS resolver is used instead of libdatadog's built-in resolver. **Motivation:** We discovered an inconsistency between how the libdatadog resolver resolves `localhost` with IPv4 vs IPv6. **Additional Notes:** N/A **How to test the change?** This change includes test coverage.
|
Based on @gleocadie's report:
|
BenchmarksBenchmark execution time: 2026-03-16 14:39:14 Comparing candidate commit 8d1a855 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 46 metrics, 0 unstable metrics.
|
|
Didn't find any configuration use anywhere, so I guess it's not a breaking change? |
|
Yes, my bad, I forgot one of the most important details -- linking to #5425 which was the PR that added this. That PR is recent, so it never made it to any dd-trace-rb release. |
…onfig Version A used the default as `false` so we needed to create a new one.
|
/merge |
|
View all feedbacks in Devflow UI.
This pull request is not mergeable according to GitHub. Common reasons include pending required checks, missing approvals, or merge conflicts — but it could also be blocked by other repository rules or settings.
The expected merge time in
|
|
✅ Tests 🎉 All green!❄️ No new flaky tests detected 🔗 Commit SHA: 8d1a855 | Docs | Datadog PR Page | Was this helpful? React with 👍/👎 or give us feedback! |
db3f60f
into
master
What does this PR do?
This PR changes the default for the
experimental_use_system_dnsprofiler setting fromfalsetotrue.The setting is now
trueby default, meaning that the system DNS resolver is used instead of libdatadog's built-in resolver.Motivation:
We discovered an inconsistency between how the libdatadog resolver resolves
localhostwith IPv4 vs IPv6.Change log entry
Yes. Profiling: Use system dns resolver by default
Additional Notes:
N/A
How to test the change?
This change includes test coverage.