You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/other/pet-clinic/apm.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,18 +52,16 @@ sudo tail -f /var/log/syslog
52
52
53
53
You can validate if the application is running by visiting `http://<VM_IP_ADDRESS>:8080`.
54
54
55
+
Once your validation is complete you can stop the application by pressing `Ctrl-c`.
56
+
55
57
## 2. Generating Traffic
56
58
57
59
Next we will start a Docker container running Locust that will generate some simple traffic to the PetClinic application. Locust is a simple load testing tool that can be used to generate traffic to a web application.
Then you can visit the Splunk APM UI and examine the application components, traces, etc. **Hamburger Menu → APM → Explore**.
64
-
65
-
Once your validation is complete you can stop the application by pressing `Ctrl-c`.
66
-
67
65
## 3. Enabling AlwaysOn Profiling and Metrics
68
66
69
67
To enable CPU and Memory Profiling on the application we can start the application by passing `splunk.profiler.enabled=true` and for metrics pass `splunk.metrics.enabled=true`. Make sure the application is stopped and run the following command to enable metrics and profiling.
0 commit comments