Re: Tracking keep alive connections

2023-12-01 Thread Christopher Schultz
Daniel, On 12/1/23 00:09, Daniel Andres Pelaez Lopez wrote: Christopher, So... when a connection is established, save the current timestamp on the connection. When it closes, take the delta of the start-of-connection and end-of-connection, and add it to a bounded queue (say, 100? 1000?) of mos

Re: Tracking keep alive connections

2023-11-30 Thread Daniel Andres Pelaez Lopez
Christopher, So... when a connection is established, save the current timestamp on > the connection. When it closes, take the delta of the > start-of-connection and end-of-connection, and add it to a bounded queue > (say, 100? 1000?) of most-recent-connection-lifetimes. Any time you > request the

Re: Tracking keep alive connections

2023-11-30 Thread Christopher Schultz
Daniel, On 11/30/23 07:08, Daniel Andres Pelaez Lopez wrote: What kind of number are you looking for? I would say something like the time a connection has been open. Can you please give the JMX path to tomcat_connections_keepalive_current and tomcat_connections_current? I have no idea what y

Re: Tracking keep alive connections

2023-11-30 Thread Daniel Andres Pelaez Lopez
> What kind of number are you looking for? I would say something like the time a connection has been open. > Can you please give the JMX path to tomcat_connections_keepalive_current > and tomcat_connections_current? I have no idea what you are talking > about there... is there some tool that prov

Re: Tracking keep alive connections

2023-11-29 Thread Christopher Schultz
Daniel, On 11/28/23 15:23, Daniel Andres Pelaez Lopez wrote: Hi community, We have a heavy workload where the client uses a lot of keep-alive connections, and we want to measure how many keep-alive connections are open, but we cannot find metrics (MBean) with that information. The closest one i