How Does the .NET Profiler Communicate with the eG Agent?
The profiler communicates with the eG agent via the port number 14001, by default. You can change the default port by following the steps below:
- Edit the eg_DotNetServer.ini file (in the <EG_AGENT_INSTALL_DIR>\agent\config directory)
- Configure the PORT parameter in the [EG_DOTNET_SERVER_DATA] section of the file with the new port number.
- Finally, save the file.
Typically, once the eG agent is configured with the details of the web site to be monitored, the profiler contacts the eG agent and downloads these details from it.
Then, when a transaction request for the web site comes in, the profiler injects a code in the CLR to trace the path of that request. In the process, the profiler also collects response time metrics related to that transaction. Every 10 seconds, the profiler sends these metrics to the eG agent. The eG agent stores these metrics in memory, until the next time it runs the .NET Business Transactions test. When the test is run, the agent pulls the metrics stored in memory and sends it to the eG manager.