mirror of
https://github.com/marcel-dempers/docker-development-youtube-series.git
synced 2025-06-06 17:01:30 +00:00
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) to 0.1.10 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together. Updates `path-to-regexp` from 0.1.7 to 0.1.10 - [Release notes](https://github.com/pillarjs/path-to-regexp/releases) - [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md) - [Commits](https://github.com/pillarjs/path-to-regexp/compare/v0.1.7...v0.1.10) Updates `express` from 4.17.3 to 4.20.0 - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/master/History.md) - [Commits](https://github.com/expressjs/express/compare/4.17.3...4.20.0) --- updated-dependencies: - dependency-name: path-to-regexp dependency-type: indirect - dependency-name: express dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
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