Welcome to the Database Observability Suite! This repository contains a collection of resources and configurations to enable observability for various database systems. Each folder is tailored to a specific database or observability setup, providing dashboards, exporters, and Kubernetes manifests to monitor and analyze database performance effectively.
Below is a high-level architecture diagram of the repository structure:
graph TD
A[Database Observability Suite] --> B[Docker Compose Observability]
A --> C[K8s MongoDB Observability]
A --> D[K8s MySQL Observability]
A --> E[K8s PostgreSQL Observability]
A --> F[K8s Redis Observability]
B --> B1[Prometheus]
B --> B2[Grafana]
B --> B3[Traffic Simulation]
C --> C1[MongoDB Exporter]
C --> C2[Grafana Dashboard]
C --> C3[K8s Resources]
D --> D1[MySQL Exporter]
D --> D2[Grafana Dashboard]
D --> D3[K8s Resources]
E --> E1[PostgreSQL Exporter]
E --> E2[Grafana Dashboard]
E --> E3[K8s Resources]
F --> F1[Redis Exporter]
F --> F2[Grafana Dashboard]
F --> F3[K8s Resources]
A Docker Compose setup for local observability. Includes configurations for:
- Prometheus: Metrics collection and alerting.
- Grafana: Visualization dashboards.
- Traffic Simulation: A script to generate sample traffic.
Kubernetes manifests for MongoDB observability. Includes:
- MongoDB Exporter: Collects metrics from MongoDB.
- Grafana Dashboard: Pre-configured MongoDB performance visualization.
- Kubernetes Resources: Secrets, services, and StatefulSets.
Kubernetes manifests for MySQL observability. Includes:
- MySQL Exporter: Collects metrics from MySQL.
- Grafana Dashboard: Pre-configured MySQL performance visualization.
- Kubernetes Resources: Secrets, services, and StatefulSets.
Kubernetes manifests for PostgreSQL observability. Includes:
- PostgreSQL Exporter: Collects metrics from PostgreSQL.
- Grafana Dashboard: Pre-configured PostgreSQL performance visualization.
- Kubernetes Resources: Secrets, services, and StatefulSets.
Kubernetes manifests for Redis observability. Includes:
- Redis Exporter: Collects metrics from Redis.
- Grafana Dashboard: Pre-configured Redis performance visualization.
- Kubernetes Resources: Secrets, services, and StatefulSets.
- Clone the repository:
git clone https://github.com/your-repo/database-observability-suite.git
- Navigate to the desired folder and follow the README instructions within.
- Deploy the observability stack locally or on Kubernetes.
Happy monitoring! 🚀