Topic: Socket Monitoring & Instrumentation
Tags: serversocket, socket, instrumentation, bytecode, byteman, aop
Subprojects: apmrouter-agent, jagent
SocketTracingLevel: The level of granularity of the collected data.
- CONNECTIONS: Traces the number of connections per discrete address each interval:
- Accepted and connected by server sockets to this JVM
- Connected to remote sockets
- ADDRESS_TRAFFIC: Traces the number of bytes read and written per discrete address each interval
- From remote connections
- To remote connections
- PORT_TRAFFIC: Traces the number of bytes read and written per discrete socket each interval
- From remote connections
- To remote connections
Note: Tracing level actions are cummulative with respect to traced data.
SocketTracingLevel | ServerSockets | Sockets | Notes |
CONNECTIONS |
|
| ServerSocket.accept is tracked toeasilly and efficiently differentiate between socket instances created from ServerSockets and Client Sockets. |
ADDRESS_TRAFFIC |
|
| |
PORT_TRAFFIC |
|
|
Byteman Helpers
Byteman Instrumentation Rules
Issues:
- UDP and Multicast Instrumentation
- Identify and link with meta-data about connected processes
- Skip internal codepaths of agent to avoid feedback loop
No comments:
Post a Comment