简体   繁体   中英

Measuring response time for a Vaadin/Atmosphere based application

I have a Vaadin application that is using web sockets (Atmosphere) to push data to the browser. This means that there is no normal HTTP request/response cycle. From the looks of it, I do get HTTP GET requests, but the response is pushed out via the web socket asynchronously.

Because of this the response time (and message size) metrics I can get from the web server logs are useless.

How can I get information logged as to how long every request processing took?

Chrome开发者工具可让您查看使用网络套接字发送的邮件的时间戳(在“网络”标签中)。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM