You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to enable jetty client metrics for http2(plain text) for the following:
1.) http2 client connection open/close
2.) http2 request sent out and response received
I did the following to enable jetty client metrics:
jetty Version=11.0.17
Java Version = 17
I am using the http2 Client of Jetty(plain text).
Following is the code snipped of initializing the HTTP client:
I am trying to enable jetty client metrics for http2(plain text) for the following:
1.) http2 client connection open/close
2.) http2 request sent out and response received
...overriden all the required methods.
Added this class as a bean to http client as well as http2 client beans.
httpClient.getRequestListeners().add(new JettyClientRequestMetrics());
Looks like this is pegging metrics only for http1.1 request, not http2 request. Also tried by adding the following two beans:
With above changes, the http dump doesn't show correct data.
Pasted Snippet below:
Could you please help in fixing this problem?
The text was updated successfully, but these errors were encountered: