Skip to content
Snippets Groups Projects
Commit 8fd50fcc authored by evilimkova's avatar evilimkova
Browse files

Adding readme documentation for Grafana

parent 8e82edf6
No related branches found
No related tags found
1 merge request!33M3 observability
Pipeline #
......@@ -42,6 +42,33 @@
sudo docker run -d -p 5003:5003 xpokorn8/sprachschulsystem:mail
~~~
# Metrics and Monitoring Dashboards
Our application uses Prometheus and Grafana to collect metrics and display them.
By running the app using commands for Running the modules using docker-compose mentioned above
Prometheus and Grafana containers are also launched.
You can find the **Prometheus** interface on
http://localhost:9090
You can find **Grafana** interface on http://localhost:3000<br />
The credentials are:<br />
**username:** admin <br />
**password:** admin <br />
In Grafana interface, you can import various dashboards. Our team used and tested https://grafana.com/grafana/dashboards/3662-prometheus-2-0-overview/ board.<br />
To import the dashboard, follow steps bellow:
![Class Diagram](https://gitlab.fi.muni.cz/xpokorn8/sprachschulsystem/-/raw/M3-observability/docs/grafana01.png)
Select **+** and **Import** in left menu of the Grafana interface.
![Class Diagram](https://gitlab.fi.muni.cz/xpokorn8/sprachschulsystem/-/raw/M3-observability/docs/grafana02.png)
Insert **3662** into **Import via grafana.com** and click **Load**.
![Class Diagram](https://gitlab.fi.muni.cz/xpokorn8/sprachschulsystem/-/raw/M3-observability/docs/grafana03.png)
Select **Prometheus** in the **prometheus** combo box and click **Import**.
![Class Diagram](https://gitlab.fi.muni.cz/xpokorn8/sprachschulsystem/-/raw/M3-observability/docs/grafana04.png)
The dashboard with metrics data will be displayed.
# Project Description
......
docs/grafana01.png

157 KiB

docs/grafana02.png

34.2 KiB

docs/grafana03.png

68.6 KiB

docs/grafana04.png

78.8 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment