- Database operations duration
- API requests duration
- API request/response size
- API
- Database
- System
- Logs
- Jmeter for benchmark test
- Postman collection
- Ensure you have
.envconfigured. See.env.example - Run
schema.sqlon your Postgres database - Run
docker compose build && docker compose up -d
- Ensure Loki is working, http://localhost:3100/ready
- Ensure Prometheus is scrapping the server, http://localhost:9090/targets
- Manually setup pg_stat_statements. See notes/pg_stat_statements
- Import dashboard to grafana, http://localhost:3000/dashboard/import
- Benchmark server with Jmeter. See jmeter_benchmark/
- Monitor database schemas with pg_stat_statements. See notes/pg_stat_statements