managarten/scripts
Till-JS 6d86a08d63 feat: add monitoring dashboard (Prometheus + Grafana + Umami + Admin)
Phase 1: Infrastructure
- Add docker/prometheus/prometheus.yml with scrape configs for all services
- Add docker/grafana/provisioning for auto-configured datasources
- Add docker/grafana/dashboards (system-overview, backends-docker)
- Update docker-compose.macmini.yml with monitoring services:
  - prometheus, grafana, node-exporter, cadvisor
  - postgres-exporter, redis-exporter, umami
- Add grafana.mana.how and analytics.mana.how to Caddyfile

Phase 2: Backend Metrics
- Create packages/shared-nestjs-metrics with:
  - MetricsModule (auto /metrics endpoint)
  - MetricsService (Counter, Histogram, Gauge helpers)
  - MetricsMiddleware (auto HTTP request tracking)

Phase 3: Umami Web Analytics
- Add Umami tracking scripts to all landing pages
- Add Umami tracking scripts to all web apps
- Create scripts/mac-mini/setup-umami-db.sh

Phase 4: Admin Dashboard (ManaCore Web)
- Add admin routes: /admin, /admin/users, /admin/system
- Create StatCard, QuickLinks, UserTable components
- Add Admin link to navigation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 15:31:39 +01:00
..
deploy first implementation 2025-11-27 17:26:18 +01:00
mac-mini feat: add monitoring dashboard (Prometheus + Grafana + Umami + Admin) 2026-01-23 15:31:39 +01:00
test-data test: implement comprehensive automated testing system with daily CI/CD 2025-12-25 19:12:27 +01:00
test-reporting test: implement comprehensive automated testing system with daily CI/CD 2025-12-25 19:12:27 +01:00
fix-mixed-imports.mjs Fix wrong type 2025-12-04 23:25:25 +01:00
generate-env.mjs 🔒 security(auth): migrate to EdDSA JWT and add automated monitoring 2025-12-18 21:42:47 +01:00
generate-staging-secrets.sh 🔒 security(auth): migrate to EdDSA JWT and add automated monitoring 2025-12-18 21:42:47 +01:00
get-ssh-key.sh ♻️ refactor(cd): hardcode non-sensitive config in staging workflow 2025-12-04 17:11:36 +01:00
remove-coolify-references.sh feat: major update with network graphs, themes, todo extensions, and more 2025-12-10 02:37:46 +01:00
run-tests-with-coverage.sh test: implement comprehensive automated testing system with daily CI/CD 2025-12-25 19:12:27 +01:00
setup-databases.sh feat(planta): add plant care tracking application 2026-01-18 14:57:16 +01:00
validate-monorepo.mjs 🔧 chore: enforce monorepo best practices with automated validation 2025-12-25 17:57:00 +01:00