Websocket Connection duration

#1

How can I get the websocket connection duration?

0 Likes

#2

I have noticed plugins like the http-log plugin seem to log an event for how long the websocket connection was held open. Makes it look like one very long API tx, so you don’t get granular websocket tx times per say or # of messages across that connection but you can see those long events from time to time letting you know things are happening :slight_smile: .

0 Likes

#3

Thanks for the response. Can we get the connection open and close status in http response header only so that we don’t have to scan logs?

0 Likes