← Back to all products
$39
Database Monitoring Setup
Monitoring configs for pg_stat, MySQL Performance Schema, MongoDB Atlas, with Grafana dashboards and alert rules.
YAMLMarkdownJSONMongoDBGrafana
📁 File Structure 6 files
database-monitoring-setup/
├── LICENSE
├── README.md
├── alerts/
│ └── rules.yml
├── configs/
│ ├── development.yaml
│ └── production.yaml
└── dashboards/
└── main.json
📖 Documentation Preview README excerpt
Database Monitoring Setup
Monitoring configs for pg_stat, MySQL Performance Schema, MongoDB Atlas, with Grafana dashboards and alert rules.
Contents
alerts/rules.ymlconfigs/development.yamlconfigs/production.yamldashboards/main.json
Quick Start
1. Extract the ZIP archive
2. Review the README and documentation
3. Customize configuration files for your environment
4. Follow the setup guide for your specific use case
Requirements
- Python 3.10+ (for Python scripts)
- Relevant CLI tools for your platform
- Access to your target environment
License
MIT License — see LICENSE file.
Support
Questions or issues? Email megafolder122122@hotmail.com
---
Part of [Database Admin](https://inity13.github.io/database-admin-pro/)
📄 Code Sample .yml preview
alerts/rules.yml
groups:
- name: database-monitoring-setup
rules:
- alert: HighErrorRate
expr: rate(http_requests_total{status=~"5.."}[5m]) > 0.05
for: 5m
labels:
severity: critical
annotations:
summary: High error rate detected
description: "Error rate is above 5% for 5 minutes"
- alert: HighLatency
expr: histogram_quantile(0.99, rate(http_request_duration_seconds_bucket[5m])) > 1.0
for: 10m
labels:
severity: warning
annotations:
summary: High P99 latency
description: "P99 latency above 1s for 10 minutes"
- alert: HighMemoryUsage
expr: process_resident_memory_bytes / 1024 / 1024 > 512
for: 15m
labels:
severity: warning
annotations:
summary: High memory usage
description: "Memory usage above 512MB for 15 minutes"