dependabot[bot] 76a5becfbe
Bump cookie and express in /monitoring/prometheus/nodejs-application/src
Bumps [cookie](https://github.com/jshttp/cookie) to 0.7.1 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `cookie` from 0.4.2 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.4.2...v0.7.1)

Updates `express` from 4.17.3 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.3...4.21.1)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-17 21:39:43 +00:00
..
2024-10-16 21:07:54 +05:30

Prometheus Application Monitoring

a Video reference guide

To run any of the commands, please ensure you open a terminal and navigate to the path where this readme is located.

Start Prometheus, Grafana & Dashboards

docker-compose up -d prometheus
docker-compose up -d grafana
docker-compose up -d grafana-dashboards

Start the example app you prefer

docker-compose up -d --build go-application
docker-compose up -d --build python-application
docker-compose up -d --build dotnet-application
docker-compose up -d --build nodejs-application

Generate some requests by opening the application in the browser

http://localhost:80 #Golang
http://localhost:81 #Python
http://localhost:82 #Dotnet
http://localhost:83 #NodeJS

Check Dashboards

http://localhost:3000

Prometheus Queries

Golang Examples

Requests per Second over 2minutes

irate(go_request_operations_total[2m])

Request duration

rate(go_request_duration_seconds_sum[2m]) / rate(go_request_duration_seconds_total[2m])

Prometheus Guide on Kubernetes

Checkout the prometheus guide here