Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Cloud-Computing_2022
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christopher Luzzi
Cloud-Computing_2022
Commits
eb3bffdf
Commit
eb3bffdf
authored
2 years ago
by
Christopher Luzzi
Browse files
Options
Downloads
Patches
Plain Diff
Update application/README.md
parent
c05c4251
Branches
luzzi-main-patch-24833
Branches containing commit
No related tags found
1 merge request
!1
Update application/README.md
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
application/README.md
+49
-0
49 additions, 0 deletions
application/README.md
with
49 additions
and
0 deletions
application/README.md
+
49
−
0
View file @
eb3bffdf
...
...
@@ -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>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment