From eb3bffdfbf158b5d1b27123388451509ccf0a01d Mon Sep 17 00:00:00 2001
From: Christopher Luzzi <christopher.luzzi@student.reutlingen-university.de>
Date: Tue, 29 Nov 2022 17:42:10 +0000
Subject: [PATCH] Update application/README.md

---
 application/README.md | 49 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/application/README.md b/application/README.md
index 81a174b..5a4a727 100644
--- a/application/README.md
+++ b/application/README.md
@@ -32,3 +32,52 @@ npm start
 ```
 
 > View on localhost:3000/start
+
+
+### 4. Changes from Excercise 2
+
+#### Create an Image
+
+To create an Image of the Application navigate to the application folder where the Dockerfiles is located.
+Then run following command: 
+
+
+```sh
+docker build -t <image-tag> . 
+```
+
+#### Run a Container with the Image 
+
+```sh
+docker run --name <containerName> <imagename> 
+```
+
+The Application is now running on port 3000<br>
+
+#### Starting the application and Prometheus
+
+To start the Application and Prometheues run the following command:<br>
+
+```sh
+docker compose up
+```
+
+The Application is now running on Port 3000.<br>
+Prometheus is running on Port 9091. <br>
+
+
+#### Visualizing different Metrics on Prometheus 
+
+To Visiualize different Metrics go to localhost:9091/graph <br>
+ 
+You can plot different Metrics by searching for the following Metrics: <br>
+
+registercounter <br>
+msgSent <br>
+msgLength <br>
+onlineUser <br>
+failedLogins <br>
+
+
+
+
-- 
GitLab