beam icon indicating copy to clipboard operation
beam copied to clipboard

[OpenTelemetry] Add an experiment to enable the instrumentation agent in Java's portability harness

Open sjvanrossum opened this issue 6 months ago • 2 comments

To support OpenTelemetry this change adds the Java instrumentation agent to the portability harness, guarded by an experiment. Acquiring a handle to an OpenTelemetry instance is enabled by a new SdkHarnessOptions property.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • [ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • [ ] Update CHANGES.md with noteworthy changes.
  • [ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels Python tests Java tests Go tests

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

sjvanrossum avatar Jun 10 '25 20:06 sjvanrossum

Codecov Report

:x: Patch coverage is 0% with 23 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 56.77%. Comparing base (d0e48e2) to head (e122f21). :warning: Report is 500 commits behind head on master.

Files with missing lines Patch % Lines
sdks/java/container/boot.go 0.00% 23 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             master   #35227    +/-   ##
==========================================
  Coverage     56.76%   56.77%            
  Complexity     3384     3384            
==========================================
  Files          1220     1220            
  Lines        185448   185563   +115     
  Branches       3520     3520            
==========================================
+ Hits         105277   105351    +74     
- Misses        76843    76877    +34     
- Partials       3328     3335     +7     
Flag Coverage Δ
go 28.22% <0.00%> (+0.05%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar Jun 10 '25 20:06 codecov[bot]

Checks are failing. Will not request review until checks are succeeding. If you'd like to override that behavior, comment assign set of reviewers

github-actions[bot] avatar Jun 11 '25 00:06 github-actions[bot]

Run Java PreCommit

sjvanrossum avatar Jun 29 '25 20:06 sjvanrossum

Run Java_IOs_Direct PreCommit

sjvanrossum avatar Jul 02 '25 16:07 sjvanrossum

waiting on author

derrickaw avatar Aug 12 '25 15:08 derrickaw

Run Java PreCommit

stankiewicz avatar Sep 01 '25 11:09 stankiewicz

Run Java_IOs_Direct PreCommit

stankiewicz avatar Sep 01 '25 11:09 stankiewicz

Run Java PreCommit

sjvanrossum avatar Sep 16 '25 12:09 sjvanrossum

Run Java_Amazon-Web-Services2_IO_Direct PreCommit

sjvanrossum avatar Sep 16 '25 12:09 sjvanrossum

Run Java_IOs_Direct PreCommit

sjvanrossum avatar Sep 16 '25 12:09 sjvanrossum

This pull request has been marked as stale due to 60 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the [email protected] list. Thank you for your contributions.

github-actions[bot] avatar Nov 15 '25 12:11 github-actions[bot]