Commit graph

3 commits

Author SHA1 Message Date
Till-JS
1868a7ffa5 refactor: change Umami analytics URL from analytics.mana.how to stats.mana.how
Update all tracking script URLs and admin dashboard links to use the
new stats.mana.how subdomain for Umami web analytics.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 16:11:24 +01:00
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
Wuesteon
a5fab2151c fix(staging): use HTTPS staging domains for all client URLs
- Updated all _CLIENT environment variables to use HTTPS staging domains
- Updated CORS_ORIGINS to allow HTTPS staging domains
- Added Caddyfile.staging to version control for documentation

Domain mappings:
- auth.staging.manacore.ai → mana-core-auth:3001
- chat.staging.manacore.ai → chat-web:3000
- chat-api.staging.manacore.ai → chat-backend:3002
- staging.manacore.ai → manacore-web:5173
- calendar.staging.manacore.ai → calendar-web:5186
- calendar-api.staging.manacore.ai → calendar-backend:3016
- clock.staging.manacore.ai → clock-web:5187
- clock-api.staging.manacore.ai → clock-backend:3017
- todo.staging.manacore.ai → todo-web:5188
- todo-api.staging.manacore.ai → todo-backend:3018

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-10 03:27:46 +01:00