-
Notifications
You must be signed in to change notification settings - Fork 398
[NO-TICKET] Review and clean up profiler logging #4728
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
Conversation
**What does this PR do?**
This PR does a pass on the profiler's logging and:
* Lowers the severity of a few messages from error to warn
* Reports a few more messages via telemetry
* Changes a few of the telemetry reports to also include exception
information
**Motivation:**
Recently I was investigating an issue in our reliability environment
and I missed some of the logging I wanted, because it wasn't being
reported using telemetry. So I decided to do that cleanup.
Regarding the error to warn changes, since the profiler failing is not
in any way expected to impact the application, it seems to me that it's
clearer that such failures are warnings ("hey -- something went wrong
and you may not get any profiles").
**Additional Notes:**
N/A
**How to test the change?**
I've updated our unit specs where needed, so we should be good to go.
BenchmarksBenchmark execution time: 2025-06-25 11:24:29 Comparing candidate commit 2ec3903 in PR branch Found 1 performance improvements and 0 performance regressions! Performance is the same for 44 metrics, 2 unstable metrics. scenario:error - without error tracking with http
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4728 +/- ##
==========================================
- Coverage 97.54% 97.54% -0.01%
==========================================
Files 1486 1486
Lines 88570 88591 +21
Branches 4587 4591 +4
==========================================
+ Hits 86396 86413 +17
- Misses 2174 2178 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Datadog ReportBranch report: ✅ 0 Failed, 21771 Passed, 1387 Skipped, 5m 8.43s Total Time |
Strech
left a comment
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.
💯
What does this PR do?
This PR does a pass on the profiler's logging and:
Motivation:
Recently I was investigating an issue in our reliability environment and I missed some of the logging I wanted, because it wasn't being reported using telemetry. So I decided to do that cleanup.
Regarding the error to warn changes, since the profiler failing is not in any way expected to impact the application, it seems to me that it's clearer that such failures are warnings ("hey -- something went wrong and you may not get any profiles").
Change log entry
Yes. Review and clean up profiler logging
Additional Notes:
N/A
How to test the change?
I've updated our unit specs where needed, so we should be good to go.