https://github.com/naeemaei/monitoringexample
An ASP.NET Core web API monitoring project with Prometheus, grafana. For run project and see grafana dashboards up docker compose
https://github.com/naeemaei/monitoringexample
asp-net-core csharp docker docker-compose dotnet grafana grafana-dashboard monitoring prometheus
Last synced: about 1 year ago
JSON representation
An ASP.NET Core web API monitoring project with Prometheus, grafana. For run project and see grafana dashboards up docker compose
- Host: GitHub
- URL: https://github.com/naeemaei/monitoringexample
- Owner: naeemaei
- Created: 2021-07-20T11:02:05.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-26T17:37:10.000Z (over 2 years ago)
- Last Synced: 2025-03-22T06:41:42.156Z (over 1 year ago)
- Topics: asp-net-core, csharp, docker, docker-compose, dotnet, grafana, grafana-dashboard, monitoring, prometheus
- Language: C#
- Homepage:
- Size: 104 KB
- Stars: 16
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Monitoring system with prometheus and grafana on docker
## In this project we use this tools
- ASP.NET Core (Backend API)
- Prometheus (TSDB)
- Grafana
- Alert Manager
- Node Exporter
- Google cAdvisor
## Give a Star! :star:
If you like this repo or found it helpful, please give it a star. Thanks!
## Quick start
### 1. [Up docker compose file](https://github.com/naeemaei/MonitoringExample/blob/master/Prometheus/docker-compose.yml)
Run this command from project root directory:
```
docker-compose -f "Prometheus\docker-compose.yml" up -d --build
```
If you are sure that this command is successfully executed, go to the next step
### 2. Check all services are running
- [ASP.NET Core Backend API](http://localhost:8008/swagger/index.html) => http://localhost:8008/swagger/index.html
- [Prometheus](http://localhost:9090/) => http://localhost:9090/
- [Grafana](http://localhost:3000/) => http://localhost:3000/
- username: admin password: foobar
- [Alert Manager](http://localhost:9093/) => http://localhost:9093/
- [Node Exporter](http://localhost:9100/) => http://localhost:9100/
- [Google cAdvisor](http://localhost:8080/containers/) => http://localhost:8080/containers/
### Grafana Dashboards
For show all dashboards go to this [link](http://localhost:3000/dashboards)