On Mon, 25 Nov 2024 07:54:34 GMT, Alan Bateman <al...@openjdk.org> wrote:
> If a connection cannot be established then it might be immediate, 10s of > milliseconds, maybe 60+ seconds in some cases. A slow down or stall waiting > for a connection to be established seems a useful event to have recorded. If it's immediate, a potential Socket Connection Failure event could overflow the buffers and we can't have it with threshold = 0s. Otherwise, it might be interesting to have something like: `$ jfr view socket-connection-failures recording.jfr` to see a complete list of failures per host/port and then have: `$ jfr view slow-socket-connections recording.jfr` to find which ones are slow, i.e. more than 10-20 ms. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/21528#discussion_r1856393748