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

Assembly version filtering #1342

Merged
merged 17 commits into from
Jan 24, 2023
Merged

Conversation

chynesNR
Copy link
Member

@chynesNR chynesNR commented Jan 9, 2023

Description

This allows instrumentation to target a specific range of versions for a given assembly.

Author Checklist

Reviewer Checklist

  • Perform code review
  • Pull request was adequately tested (new/existing tests, performance tests)
  • Review Changelog

chynesNR and others added 6 commits October 28, 2022 14:42
First pass at supporting assembly version targeting in extensions
Fixed use of Windows-specific string functions
First pass at expanding version filtering unit tests
Updating precompiled Profiler binaries after version filtering changes
Replaced hard-coded System.Net.Http logic with version filtering
nr-ahemsath and others added 6 commits January 19, 2023 14:04
* WIP

* Add ConfigureWebRequest wrapper

* Comments and cleanup

* Changelog update
…proved performance (#1351)

* Added new wrapper for StackExchange.Redis v2 and above

* Add and update unit tests for StackExchange.Redis

* Add new StackExchange.Redis instrumentation to MSI

* StackExchange.Redis v2+ cleaned up and simplfied

* Add new StackExchange.Redis files to ArtifactBuilder

* Rework the ProfilingSession slightly
Final cleanup and changelog update
* update restsharp test harness to v107+ apis

* Separate RestSharpExerciser implementation based on target platform

* Integration tests don't need to write to random files on disk :)
@JcolemanNR JcolemanNR changed the title Assembly version filtering [WIP] Assembly version filtering Jan 23, 2023
@JcolemanNR JcolemanNR marked this pull request as ready for review January 23, 2023 18:21
Copy link
Contributor

@JcolemanNR JcolemanNR left a comment

Choose a reason for hiding this comment

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

Needs a new linux arm64 profiler too. Otherwise I'm liking these changes!

tippmar-nr
tippmar-nr previously approved these changes Jan 23, 2023
@codecov-commenter
Copy link

codecov-commenter commented Jan 23, 2023

Codecov Report

Merging #1342 (4a89752) into main (e11d3a1) will decrease coverage by 0.02%.
The diff coverage is 71.59%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1342      +/-   ##
==========================================
- Coverage   71.68%   71.66%   -0.02%     
==========================================
  Files         459      459              
  Lines       30484    30542      +58     
==========================================
+ Hits        21852    21889      +37     
- Misses       8632     8653      +21     
Impacted Files Coverage Δ
...nt/Core/NewRelic.Agent.Core.Extension/Extension.cs 0.00% <0.00%> (ø)
.../Agent/NewRelic/Agent/Core/Segments/NoOpSegment.cs 18.18% <0.00%> (-0.57%) ⬇️
...ewRelic/Agent/Core/Transactions/NoOpTransaction.cs 23.35% <0.00%> (-0.71%) ⬇️
...g/ConnectionString/OracleConnectionStringParser.cs 93.05% <ø> (ø)
src/Agent/NewRelic/Agent/Core/Agent.cs 76.17% <50.00%> (-0.17%) ⬇️
src/Agent/NewRelic/Agent/Core/Segments/Segment.cs 89.49% <86.66%> (-2.18%) ⬇️
...nt/NewRelic/Agent/Core/Transactions/Transaction.cs 81.29% <94.11%> (+0.29%) ⬆️
...g/ConnectionString/ConnectionStringParserHelper.cs 100.00% <100.00%> (ø)
...arsing/ConnectionString/IConnectionStringParser.cs 94.73% <100.00%> (ø)
...g/ConnectionString/IbmDb2ConnectionStringParser.cs 96.15% <100.00%> (ø)
... and 9 more

Update precompiled Linux Profiler
@JcolemanNR JcolemanNR self-requested a review January 23, 2023 23:28
@chynesNR chynesNR merged commit 797dafe into main Jan 24, 2023
@nr-ahemsath nr-ahemsath deleted the instrumentation-version-filtering-feature branch March 15, 2023 22:27
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.

7 participants