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

Add HTTP/2 Support For Netty 4.1.16.Final + #1815

Merged
merged 10 commits into from
Apr 8, 2024
Merged

Conversation

jasonjkeller
Copy link
Contributor

@jasonjkeller jasonjkeller commented Mar 25, 2024

Resolves #1789

Adds a new netty-4.1.16 instrumentation module and caps the range of versions supported by the old netty-4.0.8 module.

In addition to supporting HTTP/1, this new instrumentation module adds support for HTTP/2 starting with Netty version io.netty:netty-all:4.1.16.Final up to the latest 4.1.x versions (at the time this instrumentation was added the most recent version of Netty wasio.netty:netty-all:4.1.107.Final).

Note: There are a small number of old Netty versions (4.1.0.Beta4 - 4.1.15.Final) that technically provide HTTP/2 functionality but will be instrumented by the older netty-4.0.8 module and thus won't have HTTP/2 support from us. This decision was made because those old Netty versions, which were all published from 2015-2017, have an extremely unstable HTTP/2 API which was frequently being refactored, making it difficult to instrument. Chances are extremely low that anyone would actually be using HTTP/2 with any of these early Netty versions.

AIT changes in the following PR will resolve the test failures: https://github.com/newrelic/java-agent-integration-tests/pull/255

@jasonjkeller
Copy link
Contributor Author

Related to #1799

@jasonjkeller jasonjkeller self-assigned this Mar 29, 2024
@jasonjkeller jasonjkeller reopened this Apr 8, 2024
@jasonjkeller jasonjkeller merged commit c72c054 into main Apr 8, 2024
209 of 211 checks passed
@jasonjkeller jasonjkeller deleted the netty-http2-support branch April 8, 2024 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Allow tracking of HTTP2 requests on Netty
2 participants