> For the complete documentation index, see [llms.txt](https://audomsak.gitbook.io/openshift-workshop-for-developers/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://audomsak.gitbook.io/openshift-workshop-for-developers/monitoring-and-logging/application-monitoring.md).

# Application Monitoring

1. Open a web terminal by click on the prompt icon at the top right corner of web console, then select your project, and click Start.

   ![Open Web Terminal](https://4096465133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa3i2iCO0U9uw1JFkKW85%2Fuploads%2Fgit-blob-3cd4f066de0924b7b11becce7ec7900a820ad036%2Fmonitoring01.png?alt=media)
2. Run following command to simulate load testing.

   ```sh
   while(true); do curl -o /dev/null http://quarkus-todo-app:8080/todo.html; sleep 0.2; done;
   ```

   *Example Output*

   ```sh
   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
   100  2589  100  2589    0     0   842k      0 --:--:-- --:--:-- --:--:--  842k
   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
   100  2589  100  2589    0     0  1264k      0 --:--:-- --:--:-- --:--:-- 1264k
   ```

   ![Run command](https://4096465133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa3i2iCO0U9uw1JFkKW85%2Fuploads%2Fgit-blob-c3f6fb5bd9ae1018f95c71474d71891c38184d92%2Fmonitoring02.png?alt=media)
3. Select the **quarkus-todo-app** node, then go to **Observe** tab on the right panel. And then click **View dashboard** link.

   ![Open metrics dashboard](https://4096465133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa3i2iCO0U9uw1JFkKW85%2Fuploads%2Fgit-blob-1cebdc1197270959b13a8ecd2449e29e56386c29%2Fmonitoring03.png?alt=media)
4. You should be able to see resources consumption, throughput, bandwidth etc. for your application.

   ![Open metrics dashboard](https://4096465133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa3i2iCO0U9uw1JFkKW85%2Fuploads%2Fgit-blob-477753aaf1c6d4a77b2c82ff1b9492e4ae4cd91f%2Fmonitoring04.png?alt=media)
5. Go back to the Web Terminal and cancel the load testing script by pressing `Ctrl+C` on keyboard.

   ![Cancel the command](https://4096465133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa3i2iCO0U9uw1JFkKW85%2Fuploads%2Fgit-blob-03813de79717264e17ff3c729c9549b1bb5e9fe8%2Fmonitoring05.png?alt=media)
