Skip to content

feat(monitoring): complete observability stack per bounty #10#405

Open
sungdark wants to merge 8 commits intoillbnm:masterfrom
sungdark:feature/observability-bounty-10
Open

feat(monitoring): complete observability stack per bounty #10#405
sungdark wants to merge 8 commits intoillbnm:masterfrom
sungdark:feature/observability-bounty-10

Conversation

@sungdark
Copy link
Copy Markdown

@sungdark sungdark commented Apr 1, 2026

Implements complete observability stack for #10

OpenClaw Bounty Scout and others added 8 commits March 18, 2026 12:22
- Complete docker-compose configuration with healthchecks
- Add .env.example for environment configuration
- Add comprehensive README documentation following the project pattern
- Includes all required security hardening: no-new-privileges, watchtower auto-update enabled
- Ready for deployment
- Add idempotent initdb script with CREATE USER/DB IF NOT EXISTS logic
- Add authentik and grafana PostgreSQL databases and users
- Pre-initialize Redis DBs 0-4 via startup command (Authentik/Outline/Gitea/Nextcloud/Grafana)
- Add pgAdmin (PostgreSQL web UI) exposed via proxy network
- Add Redis Commander (Redis web UI) exposed via proxy network
- Add service_healthy depends_on for postgres and redis
- Isolate DB containers to databases network only
- Add comprehensive README with connection strings and verification steps
- Rewrite scripts/backup.sh with --target all|media|database, --dest s3|b2|sftp|local|restic, --dry-run, --restore, --list, --verify flags
- Add built-in ntfy notification on backup/restore/verify success/failure
- Add docs/disaster-recovery.md with full DR guide
- Add Restic REST Server to stacks/storage/docker-compose.yml
- Add backup env vars to .env.example and stacks/storage/.env.example
- Integrate restic rest-server as a backup target backend
Add dedicated backup stack with Duplicati + Restic REST Server:
- stacks/backup/docker-compose.yml: Duplicati 2.0.11 + Restic REST Server 0.13
- stacks/backup/.env.example: Environment config for backup stack
- stacks/backup/README.md: Setup guide with 3-2-1 strategy documentation

Duplicati provides AES-256 encrypted cloud backup with deduplication via Web UI.
Restic REST Server provides REST API backend for scripts/backup.sh.

Bounty: $150 USDT
Issue: illbnm#12
…boards

Implements bounty illbnm#10 - Observability Stack (80)

Changes:
- Download and provision Grafana dashboards: Docker Container & Host
  Metrics (ID 179), Traefik Official (ID 17346), Loki Dashboard (ID 13639),
  Uptime Kuma (ID 18278)
- Add Tempo datasource to Grafana with tracesToLogs linking to Loki
- Add Grafana OnCall (port 8080) and Alertmanager scrape jobs to Prometheus
- Rewrite uptime-kuma-setup.sh to use Uptime Kuma API for automatic
  monitor creation (HTTP + TCP), ntfy notification channel setup,
  and dry-run mode
- Add PROMETHEUS_RETENTION, LOKI_RETENTION, TEMPO_RETENTION to .env.example
- Preserve Loki 7d and Tempo 3d retention configs

Claimed: illbnm#10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant