Lithosphere Infrastructure Configuration
Directory Structure
infra/
├── alertmanager/ # Alertmanager configuration
│ └── alertmanager-config.yaml
│
├── grafana/ # Grafana provisioning & dashboards
│ ├── provisioning/
│ │ ├── datasources/
│ │ │ └── datasources.yaml
│ │ └── dashboards/
│ │ └── dashboards.yaml
│ └── dashboards/
│ ├── system-overview.json
│ ├── api-monitoring.json
│ └── container-metrics.json
│
├── k8s/ # Kubernetes manifests (future)
│ └── base/
│ └── kustomization.yaml
│
├── loki/ # Loki log aggregation
│ └── loki-config.yaml
│
├── postgres/ # PostgreSQL initialization
│ └── init.sql
│
├── prometheus/ # Prometheus metrics & alerts
│ ├── prometheus.yml
│ └── alerts/
│ └── lithosphere-alerts.yml
│
└── promtail/ # Promtail log collection
└── promtail-config.yamlConfiguration Files
Alertmanager
Grafana
Loki
Prometheus
Promtail
PostgreSQL
Kubernetes (Future)
Environment Variables
Maintenance
Updating Configurations
Backup Configurations
Volume Management
Security Considerations
1. Network Exposure
2. Grafana Authentication
3. Alertmanager Secrets
Troubleshooting
Issue: Configuration not loading
Issue: Dashboards not appearing in Grafana
Issue: Alerts not firing
Performance Tuning
Reduce Disk Usage
Reduce Memory Usage
Optimize Scrape Intervals
Additional Resources
Last updated