Skip to content

Fix graal#6134

Merged
jack-berg merged 2 commits intoopen-telemetry:mainfrom
jack-berg:fix-graal
Jan 11, 2024
Merged

Fix graal#6134
jack-berg merged 2 commits intoopen-telemetry:mainfrom
jack-berg:fix-graal

Conversation

@jack-berg
Copy link
Copy Markdown
Member

Fixes open-telemetry/opentelemetry-java-instrumentation#10184

Probably need to publish a patch release for this. cc @open-telemetry/java-approvers

@jack-berg jack-berg requested a review from a team January 9, 2024 19:17
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d9f9812) 91.01% compared to head (e0d48bf) 91.00%.

❗ Current head e0d48bf differs from pull request most recent head d189aab. Consider uploading reports for the commit d189aab to get more accurate results

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #6134      +/-   ##
============================================
- Coverage     91.01%   91.00%   -0.01%     
  Complexity     5702     5702              
============================================
  Files           630      630              
  Lines         16710    16710              
  Branches       1656     1656              
============================================
- Hits          15208    15207       -1     
  Misses         1047     1047              
- Partials        455      456       +1     

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

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comment for explanation.

Looking closer at this, where does this package access version.properties? If source code needs to access the artifact version, it uses the generated OtelVersion.VERSION constant, as shown here: https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk/common/src/main/java/io/opentelemetry/sdk/resources/Resource.java#L60
Not sure what this change aimed to accomplish.

@trask
Copy link
Copy Markdown
Member

trask commented Jan 11, 2024

Probably need to publish a patch release for this.

👍 I think it would be nice to have this fix for Instrumentation 2.0.0

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.

Workflow failed: GraalVM native tests (#207)

2 participants