On Mon, 25 Nov 2024 13:23:23 GMT, Erik Gahlin <egah...@openjdk.org> wrote:

>> Having a view for connect failures that doesn't require exceptions=all could 
>> be useful. Does this mean two events, one an instant event for the failures, 
>> the other a duration event for the connections that are slow to establish?
>
> A connection failure introduces a latency in the application, so probably 
> best to have such an event durational as well.

@egahlin The updated PR proposes two duration events: jdk.SocketConnect for 
when a connection is established, and jdk.SocketConnectFailed for when a 
connection cannot be established. Naming aside, it seems that would allow the 
jfr views that you listed above.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/21528#discussion_r1867647214

Reply via email to