Skip to content

Implement process context sharing OTEP-4719 - #8718

Draft
jhalliday wants to merge 2 commits into
open-telemetry:mainfrom
jhalliday:jh-profiling-v
Draft

Implement process context sharing OTEP-4719#8718
jhalliday wants to merge 2 commits into
open-telemetry:mainfrom
jhalliday:jh-profiling-v

Conversation

@jhalliday

Copy link
Copy Markdown
Contributor

OTEP-4719: Introduce a standard mechanism for OpenTelemetry SDKs to publish resource attributes for access by out-of-process readers such as the OpenTelemetry eBPF Profiler.
Elements of this implementation uses panama FFM (stable in Java 22+) to access native methods. It is not proposed to support process context on JDK releases earlier than 25.

@jhalliday
jhalliday requested a review from a team as a code owner August 11, 2026 14:34
@jhalliday
jhalliday marked this pull request as draft August 11, 2026 14:35
@jhalliday

Copy link
Copy Markdown
Contributor Author

@ivoanjo If you have time I'd appreciate you looking this over from the perspective of compliance to the spec. It's largely from your demo code so hopefully it's not too far off.

@jack-berg Thoughts on package structure, Java 25+ use, dependencies? It's pulling in existing protobuf support from the exporters rather than reinventing it.

I've not got gradle doing quite the right thing yet - it builds all the tests, but doesn't recognize the Java 25 ones as parts of the test set, so doesn't actually run them :-( Other than that, it's good enough as a starting point for discussions.

@codecov

codecov Bot commented Aug 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.64%. Comparing base (7aea89f) to head (fb85460).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #8718      +/-   ##
============================================
- Coverage     91.65%   91.64%   -0.01%     
+ Complexity    10352    10351       -1     
============================================
  Files          1003     1003              
  Lines         27210    27211       +1     
  Branches       3199     3199              
============================================
- Hits          24939    24938       -1     
  Misses         1566     1566              
- Partials        705      707       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant