Monitoring websocket api calls