From 3721a1022abd971df130e047662c34d8b0905d32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20M=C3=A9ndez=20Murias?= Date: Sun, 28 Apr 2024 17:02:27 +0200 Subject: [PATCH] 13_monitoring.adoc updated with image visualization --- docs/src/13_monitoring.adoc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/src/13_monitoring.adoc b/docs/src/13_monitoring.adoc index e3bc68b3..d8938d7d 100644 --- a/docs/src/13_monitoring.adoc +++ b/docs/src/13_monitoring.adoc @@ -8,19 +8,22 @@ Monitoring is a crucial part of application development as it allows us to obtai === Memory and CPU Usage Grafana and Prometheus enable us to monitor the memory and CPU usage of the system. This helps us identify potential bottlenecks and optimize the performance of our application. We can visualize real-time graphs that show the evolution of memory and CPU usage over time. + image::system_usage.png[align="center",title="System Usage Monitoring"] === Number of Requests and Response Time In addition to memory and CPU usage, we can also monitor the number of requests our application receives and the response time of these requests. This allows us to identify potential performance issues and optimize the responsiveness of our application. Grafana and Prometheus allow us to visualize graphs that show the evolution of the number of requests and response time. + image::response_time_monitoring.png[align="center",title="Response Time Monitoring"] === Number of Calls to Each Endpoint Another important metric we can monitor is the number of calls made to each endpoint of our application. This helps us identify the most frequently used endpoints and optimize their performance. Grafana and Prometheus allow us to visualize graphs that show the number of calls to each endpoint. -image::endpoint_monitoring.svg[align="center",title="Endpoint Monitoring"] + +image::endpoint_monitoring.png[align="center",title="Endpoint Monitoring"] With monitoring using Grafana and Prometheus, we can gain a comprehensive view of the performance and health of our application. This enables us to make informed decisions to improve the performance and responsiveness of our application. \ No newline at end of file