[NO-TICKET] Profiler: Turn initialization errors into log messages#5509
Conversation
|
/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.
[email protected] unqueued this merge request |
|
✅ Tests 🎉 All green!❄️ No new flaky tests detected 🎯 Code Coverage (details) 🔗 Commit SHA: dfb0f94 | Docs | Datadog PR Page | Was this helpful? React with 👍/👎 or give us feedback! |
0b71184 to
162427e
Compare
|
CI seems stuck, I force-pushed the same commit to re-trigger it |
|
/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.
[email protected] unqueued this merge request |
**What does this PR do?** Turn profiler initialization errors into warning log messages, instead of allowing them to propagate and impact the application. **Motivation:** libdatadog) were propagating up and impacting the application startup. The profiler should gracefully disable itself when it runs into issues. **Change log entry** Yes. Profiler: Turn initialization errors into log messages. **Additional Notes:** N/A **How to test the change?** New spec added to `spec/datadog/profiling/component_spec.rb`. Co-Authored-By: Claude Opus 4.5 <[email protected]>
162427e to
dfb0f94
Compare
BenchmarksBenchmark execution time: 2026-03-26 16:02:16 Comparing candidate commit dfb0f94 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 46 metrics, 0 unstable metrics.
|
What does this PR do?
Turn profiler initialization errors into warning log messages, instead of allowing them to propagate and impact the application.
Motivation:
#5508 highlighted that initialization errors (in that case, from libdatadog) were propagating up and impacting the application startup. The profiler should gracefully disable itself when it runs into issues.
Change log entry
Yes. Profiler: Turn initialization errors into log messages.
Additional Notes:
N/A
How to test the change?
New spec added to
spec/datadog/profiling/component_spec.rb.