...
In the YourKit profiler UI, select the option
Profile remote Java server or application
.Select
Direct connect
option and proceed to next step.In this window,
Provide an appropriate
Connection name
to uniquely identify this connection that will be shown inMonitor applications
section after successful connection.Under the
Host
column, provide profiling.lite.mybahmni.in as this is the route thought through which profiler UI can make connection with the agent.Set the
Port
as 443 and proceed to Next step.
Hit Next, since there is no need of SSH tunnel for making this connection.
Test the connection to see if the connection is fine and hit
Finish
to complete the process.Under Monitor applications section, a new entry with the
Connection name
set in step 3a will be show and Tomcat server will be shown under that connection name.On selecting the
Tomcat
server, a connection to the remote application is made and a new window pops up showing telemetries related to CPU and memory of the JVM, possible deadlocks in the application, insights into the threads being executed, options to monitor executions and take snapshots of CPU and resource allocation for further analysis in the future.
Info |
---|
To profile Bahmni OpenMRS running on the machine using Docker using YourKit, please refer here |
The performance environment is using profiling
tagged Openmrs images which are created using the following Dockerfile. This Dockerfile uses bahminindiadistro/openmrs:latest image and adds YourKit agent, which helps YourKit UI to make the connection mentioned in Step 3b.
References
...