Skip to content
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

Support Zio 2 #1778

Merged
merged 14 commits into from Mar 4, 2024
Merged

Support Zio 2 #1778

merged 14 commits into from Mar 4, 2024

Conversation

obenkenobi
Copy link
Contributor

@obenkenobi obenkenobi commented Mar 1, 2024

Overview

Adds support for ZIO 2.

3 new modules are added to the agent:

  • newrelic-scala-zio2-api The front facing Scala API for ZIO 2. This module like other scala APIs will be published to maven and is identical to the ZIO api with implementation changes to work with ZIO 2. Any customer upgrading to ZIO 2 and still using the old ZIO API will need to change their dependency to this API.
  • instrumentation:newrelic-scala-zio2-api An instrumentation module designed to access the agent bridge API when implementing how tranactions are created and ended with ZIO 2.
  • instrumentation:zio-2 The core ZIO 2 instrumentation module that links tokens across thread changes.

Related Github Issue

#457

@obenkenobi
Copy link
Contributor Author

Running this workflow to run ZIO 2 tests I have added on this branch alongside the GHA script updates I have made.

@codecov-commenter
Copy link

codecov-commenter commented Mar 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.00%. Comparing base (4bfe27a) to head (19946d6).

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

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1778      +/-   ##
============================================
- Coverage     70.82%   70.00%   -0.83%     
+ Complexity     9942     9843      -99     
============================================
  Files           826      826              
  Lines         39868    39868              
  Branches       6040     6040              
============================================
- Hits          28237    27908     -329     
- Misses         8903     9275     +372     
+ Partials       2728     2685      -43     

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

@obenkenobi obenkenobi merged commit 085996e into main Mar 4, 2024
104 checks passed
@obenkenobi
Copy link
Contributor Author

Fixing the 'implementation-title' in the zio instrumentation modules in this PR: #1781

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.

None yet

3 participants