-
Notifications
You must be signed in to change notification settings - Fork 384
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
[PROF-11412] Support correlating profiling with otel-api 1.5+ #4425
[PROF-11412] Support correlating profiling with otel-api 1.5+ #4425
Conversation
This will be used to access the OTEL context after open-telemetry/opentelemetry-ruby#1807 .
**What does this PR do?** This PR adds support for correlating profiling wih otel-api 1.5+. Context storage was moved in open-telemetry/opentelemetry-ruby#1807 and we needed to update the profiler to account for this. **Motivation:** Keep profiling + otel correlation working. **Additional Notes:** N/A **How to test the change?** In #4421 I had already bootstrapped the new appraisal groups needed for testing this. This PR enables them, and our existing test coverage will cover the new code path when used with otel-api 1.5+.
BenchmarksBenchmark execution time: 2025-02-21 11:48:08 Comparing candidate commit 16b8c46 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 31 metrics, 2 unstable metrics. |
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.
LGTM!
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4425 +/- ##
=======================================
Coverage 97.72% 97.72%
=======================================
Files 1365 1365
Lines 83337 83337
Branches 4219 4219
=======================================
+ Hits 81440 81443 +3
+ Misses 1897 1894 -3 ☔ View full report in Codecov by Sentry. |
Datadog ReportBranch report: ✅ 0 Failed, 20607 Passed, 1375 Skipped, 3m 9.05s Total Time |
What does this PR do?
This PR adds support for correlating profiling wih otel-api 1.5+.
Context storage was moved in open-telemetry/opentelemetry-ruby#1807 and we needed to update the profiler to account for this.
Motivation:
Keep profiling + otel correlation working.
Change log entry
Yes. Support correlating profiling with otel-api 1.5+
Additional Notes:
N/A
How to test the change?
In #4421 I had already bootstrapped the new appraisal groups needed for testing this. This PR enables them, and our existing test coverage will cover the new code path when used with otel-api 1.5+.