Java NewRelic monitor Websockets应用程序详细信息

Java NewRelic monitor Websockets应用程序详细信息,java,websocket,jetty,newrelic,throughput,Java,Websocket,Jetty,Newrelic,Throughput,我有一个Jetty服务器,客户端使用WebSocket连接到该服务器。我正在使用NewRelic监控Jetty服务器的性能。它仅将与服务器的每个新连接计算为一个,但不提供: 1. any throughput information about the number of sent/received messages through the WebSockets. 2. any insight on how busy the server is 是否有可能通过NewRelic获取这些信息?目

我有一个Jetty服务器,客户端使用WebSocket连接到该服务器。我正在使用NewRelic监控Jetty服务器的性能。它仅将与服务器的每个新连接计算为一个,但不提供:

1. any throughput information about the number of sent/received messages through the WebSockets. 
2. any insight on how busy the server is

是否有可能通过NewRelic获取这些信息?

目前,NewRelic无法检测由HTTP以外的任何协议(包括WebSocket和JMS)提供的流量。如果您愿意进行一些定制,那么可以通过.XML使用一些注释和/或定制工具来检测事务

最简单的方法是在代码中添加newrelic@Trace注释,看看newrelic记录了什么

我会直接与NewRelic支持部门联系,寻求进一步的帮助。support.newrelic.com