-
Notifications
You must be signed in to change notification settings - Fork 690
Add HttpMeterRegistrarAdapter to track active streams in HTTP/2 and HTTP/3
#3632
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
Conversation
reactor-netty-core/src/main/java/reactor/netty/resources/PooledConnectionProvider.java
Show resolved
Hide resolved
reactor-netty-http/src/main/java/reactor/netty/http/client/Http2ConnectionPoolMetrics.java
Outdated
Show resolved
Hide resolved
reactor-netty-http/src/main/java/reactor/netty/http/client/Http2ConnectionProvider.java
Show resolved
Hide resolved
...netty-http/src/main/java/reactor/netty/http/client/Http2DelegatingConnectionPoolMetrics.java
Outdated
Show resolved
Hide resolved
reactor-netty-http/src/main/java/reactor/netty/http/client/Http2MeterRegistrarAdapter.java
Outdated
Show resolved
Hide resolved
reactor-netty-http/src/main/java/reactor/netty/http/client/Http3ConnectionProvider.java
Show resolved
Hide resolved
|
@raccoonback Can you please rebase on top of |
15a733d to
470c27e
Compare
…and pending streams in the HTTP/2 protocol Signed-off-by: raccoonback <[email protected]>
Signed-off-by: raccoonback <[email protected]>
Signed-off-by: raccoonback <[email protected]>
Signed-off-by: raccoonback <[email protected]>
470c27e to
a5dcbdd
Compare
|
@violetagg |
Signed-off-by: raccoonback <[email protected]>
…s.Nullable Signed-off-by: raccoonback <[email protected]>
|
@raccoonback I'll review this PR later this week |
violetagg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@raccoonback Thanks for the PR!
Please check my comments.
For the test I would recommend to extend the BaseHttpTest and to reuse the methods for creating server/client.
reactor-netty-http/src/main/java/reactor/netty/http/client/Http2ConnectionPoolMetrics.java
Show resolved
Hide resolved
reactor-netty-http/src/main/java/reactor/netty/http/client/Http2ConnectionPoolMetrics.java
Outdated
Show resolved
Hide resolved
reactor-netty-http/src/main/java/reactor/netty/http/client/Http2ConnectionPoolMetrics.java
Show resolved
Hide resolved
reactor-netty-http/src/main/java/reactor/netty/http/client/Http2ConnectionPoolMetrics.java
Outdated
Show resolved
Hide resolved
...netty-http/src/main/java/reactor/netty/http/client/Http2DelegatingConnectionPoolMetrics.java
Outdated
Show resolved
Hide resolved
.../src/test/java/reactor/netty/http/client/Http2PooledConnectionProviderCustomMetricsTest.java
Outdated
Show resolved
Hide resolved
.../src/test/java/reactor/netty/http/client/Http2PooledConnectionProviderCustomMetricsTest.java
Outdated
Show resolved
Hide resolved
.../src/test/java/reactor/netty/http/client/Http2PooledConnectionProviderCustomMetricsTest.java
Outdated
Show resolved
Hide resolved
.../src/test/java/reactor/netty/http/client/Http2PooledConnectionProviderCustomMetricsTest.java
Show resolved
Hide resolved
.../src/test/java/reactor/netty/http/client/Http2PooledConnectionProviderCustomMetricsTest.java
Outdated
Show resolved
Hide resolved
Signed-off-by: raccoonback <[email protected]>
Signed-off-by: raccoonback <[email protected]>
…etrics Signed-off-by: raccoonback <[email protected]>
Signed-off-by: raccoonback <[email protected]>
Signed-off-by: raccoonback <[email protected]>
Signed-off-by: raccoonback <[email protected]>
Signed-off-by: raccoonback <[email protected]>
|
@violetagg |
violetagg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we are almost ready with this change.
...in/java/reactor/netty/examples/documentation/http/client/pool/metrics/http2/Application.java
Outdated
Show resolved
Hide resolved
.../src/test/java/reactor/netty/http/client/Http2PooledConnectionProviderCustomMetricsTest.java
Outdated
Show resolved
Hide resolved
.../src/test/java/reactor/netty/http/client/Http2PooledConnectionProviderCustomMetricsTest.java
Outdated
Show resolved
Hide resolved
.../src/test/java/reactor/netty/http/client/Http2PooledConnectionProviderCustomMetricsTest.java
Outdated
Show resolved
Hide resolved
.../src/test/java/reactor/netty/http/client/Http2PooledConnectionProviderCustomMetricsTest.java
Outdated
Show resolved
Hide resolved
.../src/test/java/reactor/netty/http/client/Http2PooledConnectionProviderCustomMetricsTest.java
Outdated
Show resolved
Hide resolved
.../src/test/java/reactor/netty/http/client/Http2PooledConnectionProviderCustomMetricsTest.java
Outdated
Show resolved
Hide resolved
Signed-off-by: raccoonback <[email protected]>
Signed-off-by: raccoonback <[email protected]>
62e386d to
ce908df
Compare
|
@violetagg |
Http2MeterRegistrarAdapter to track active and pending streams in HTTP/2HttpMeterRegistrarAdapter to track active streams in HTTP/2 and HTTP/3
Signed-off-by: Violeta Georgieva <[email protected]>
Signed-off-by: Violeta Georgieva <[email protected]>
Description
This PR introduces
Http2MeterRegistrarAdapterto provide metrics for HTTP/2 active and pending stream counts. By integrating this, users can monitor the number of active and pending streams in HTTP/2 connections.Changes
Http2MeterRegistrarAdapterto track active and pending streams count.Related Issues