mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-27 18:37:43 +02:00
chore(analytics): Umami-Tabellen-/Listen-Einträge aus Referenz-Docs (Welle E)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
100543b316
commit
04bfa71a7a
12 changed files with 0 additions and 16 deletions
|
|
@ -76,7 +76,6 @@ managarten/
|
|||
- **Build System:** Turborepo
|
||||
- **Formatting:** Prettier (tabs, single quotes, 100 char width)
|
||||
- **Hosting:** Mac Mini (self-hosted) via Docker + Cloudflare Tunnel
|
||||
- **Analytics:** Umami (stats.mana.how)
|
||||
|
||||
## License
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ Alle Postgres-Container, die `*postgres*` matchen, ausgenommen
|
|||
|
||||
| Container | User | DB(s) |
|
||||
|---|---|---|
|
||||
| `mana-infra-postgres` | `postgres` | mana_platform, mana_sync, mana_admin, memoro (956 MB), forgejo, glitchtip, umami |
|
||||
| `cards-postgres` | `cards` | cards |
|
||||
| `manaspur-postgres` | `manaspur` | manaspur |
|
||||
| `nutriphi-postgres` | `nutriphi` | nutriphi |
|
||||
|
|
|
|||
|
|
@ -120,7 +120,6 @@ Cloudflare Tunnel (bb0ea86d...)
|
|||
| Domain | Service | Port |
|
||||
|--------|---------|------|
|
||||
| `grafana.mana.how` | Grafana | 8000 |
|
||||
| `stats.mana.how` | Umami Analytics | 8010 |
|
||||
| `glitchtip.mana.how` | GlitchTip Errors | 8020 |
|
||||
| `ssh.mana.how` | SSH Access | 22 |
|
||||
|
||||
|
|
|
|||
|
|
@ -152,7 +152,6 @@ Legende: LOCAL = Self-hosted | CLOUD = Externer Dienst | FREE = Kostenlos
|
|||
| **Prometheus** | Metrics Collection | In mana-auth integriert |
|
||||
| **Grafana** | Dashboards | Konfigurierbar |
|
||||
| **Winston** | Application Logging | In allen NestJS Services |
|
||||
| **Umami** | Web Analytics | `UMAMI_APP_SECRET` |
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -440,7 +439,6 @@ echo "LLaVA ready at: http://localhost:11434"
|
|||
| Aufgabe | Auslöser | Aufwand |
|
||||
|---------|----------|---------|
|
||||
| Postal für Emails | Email-Volumen > 1000/Monat | 4h |
|
||||
| Umami self-hosted | Analytics benötigt | 2h |
|
||||
| Mehr LLM-Modelle | Qualitätsanforderungen | 1h |
|
||||
|
||||
### Phase 3: Hardware-Upgrade nötig
|
||||
|
|
|
|||
|
|
@ -526,7 +526,6 @@ curl -s http://localhost:3000/
|
|||
The health check monitors:
|
||||
- All backend APIs and web frontends
|
||||
- Infrastructure (PostgreSQL, Redis)
|
||||
- Monitoring stack (Grafana, Umami, GlitchTip, VictoriaMetrics)
|
||||
- Alerting stack (vmalert, Alertmanager, Alert Notifier)
|
||||
- Disk space for `/` and `/Volumes/ManaData` (warning at 80%, critical at 90%)
|
||||
- Cloudflare Tunnel (cloudflared process)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ All monitoring tools are publicly accessible - no login required (except GlitchT
|
|||
| Tool | URL | Access |
|
||||
|------|-----|--------|
|
||||
| **Grafana** | https://grafana.mana.how | No login needed (Anonymous Viewer) |
|
||||
| **Umami** | [Public Dashboard](https://stats.mana.how/share/face76f42d3e42beb8c80ea03f33a462/mana-webapp) | No login needed (Public Share) |
|
||||
| **GlitchTip** | https://glitchtip.mana.how | `guest@mana.how` / `guestguest` |
|
||||
|
||||
### Grafana Dashboards
|
||||
|
|
|
|||
|
|
@ -10,11 +10,9 @@
|
|||
| Metriken (Infra + App) | Ja | VictoriaMetrics + Grafana | Produktionsreif |
|
||||
| Alerting | Ja | Alertmanager + Telegram/ntfy | 70+ Regeln |
|
||||
| Error Tracking (Backend) | Ja | GlitchTip | 18 Backends angebunden |
|
||||
| Web Analytics | Ja | Umami | 15 Apps getracked |
|
||||
| **Distributed Tracing** | **Nein** | — | Kein Tracing |
|
||||
| **Log-Aggregation** | **Nein** | — | Nur `docker logs` |
|
||||
| **APM (Application Performance Monitoring)** | **Nein** | — | Kein Runtime-Profiling |
|
||||
| **Frontend Error Monitoring** | **Nein** | — | Nur Umami (kein Error Tracking) |
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -351,7 +349,6 @@ Frontend Error Monitoring fängt Fehler ab, die im Browser des Users passieren
|
|||
|
||||
Ein User auf Safari iOS hat einen Fehler in der Todo-App — eine Svelte-Komponente wirft eine Exception und der Screen wird weiß. Der User schließt die App, kommt nicht wieder. Du erfährst davon nie, weil:
|
||||
- Kein Error wird an ein Backend gesendet
|
||||
- Umami zeigt nur "1 Seitenaufruf weniger als gestern"
|
||||
- GlitchTip hat nur Backend-Fehler
|
||||
|
||||
**Szenario 2: API-Fehler aus Sicht des Users**
|
||||
|
|
|
|||
|
|
@ -168,7 +168,6 @@ Pure CRUD apps use mana-sync directly.
|
|||
| Port | Service | Description |
|
||||
|------|---------|-------------|
|
||||
| 8000 | grafana | Metrics dashboards |
|
||||
| 8010 | umami | Web analytics |
|
||||
| 8020 | glitchtip | Error tracking |
|
||||
|
||||
## 9000-9199: Infrastructure & Exporters
|
||||
|
|
|
|||
|
|
@ -226,7 +226,6 @@ Memoro transformiert Audio-Aufnahmen in strukturierte, durchsuchbare Inhalte mit
|
|||
| Audio | expo-audio, Azure Speech Services |
|
||||
| State | Zustand |
|
||||
| Payments | RevenueCat |
|
||||
| Analytics | Umami (self-hosted) |
|
||||
| i18n | react-i18next (32 Sprachen) |
|
||||
|
||||
#### Projektstruktur
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@
|
|||
| Search | SearXNG + mana-search | Docker + NestJS |
|
||||
| Messaging | Matrix/Synapse + 13 Bots | Docker |
|
||||
| Monitoring | VictoriaMetrics + Grafana | Docker |
|
||||
| Analytics | Umami | Docker |
|
||||
| Error Tracking | GlitchTip (Sentry-kompatibel) | Docker |
|
||||
| Automation | n8n | Docker |
|
||||
| LLM | Ollama + mana-llm Gateway | Nativ + Python |
|
||||
|
|
|
|||
|
|
@ -52,13 +52,11 @@ This document defines the URL schema for all mana.how subdomains.
|
|||
| Service | URL | Description |
|
||||
|---------|-----|-------------|
|
||||
| **Grafana** | grafana.mana.how | Metrics dashboards |
|
||||
| **Umami** | (internal :8010) | Web analytics |
|
||||
|
||||
### Umami Tracking (Analytics)
|
||||
|
||||
For web analytics, the following apps are tracked in Umami:
|
||||
|
||||
| Umami Website ID | Display Name | Domain |
|
||||
|------------------|--------------|--------|
|
||||
| `mana-webapp` | Dashboard | mana.how |
|
||||
| `chat-webapp` | Chat | chat.mana.how |
|
||||
|
|
|
|||
|
|
@ -738,7 +738,6 @@ Der Service bleibt vorerst nebenher. Gründe:
|
|||
|
||||
- [x] Prometheus-Metrics: `mana_api_website_publish_total{result}`, `_publish_duration_seconds`, `_submissions_total{result}`, `_host_resolve_total{result}`, `_domain_verify_total{result}`, `_public_reads_total{result}`, `_public_read_age_seconds`. `/metrics`-Endpoint an apps/api root (unauth, verlässt sich auf Reverse-Proxy).
|
||||
- [x] Orphan-Asset-GC: Script `apps/api/scripts/gc-website-assets.ts` — **read-only** in M7 first-pass. Walks published_snapshots + submissions for mediaId refs, compares against mana-media's app=website listing, reports orphans older than 30d. Deletion-Toggle nach 2-3 Wochen stabiler Reports.
|
||||
- [x] `analytics`-Block-Typ: Plausible + Umami mit self-hosted Script-URL-Override. Unsichtbar im Editor, emittiert genau einen `<script>` im public-Mode. Keine Cookies, keine PII.
|
||||
- [ ] Per-Site-Stats im Editor (Views/Tag, Top-Seiten) — verschoben auf M7.x. Der Analytics-Block deckt die Visitor-Seite; Editor-Inline-Dashboard ist Backlog bis jemand konkret danach fragt.
|
||||
- [ ] Submission-Retention: `payload` nach erfolgreicher Weitergabe nullen — M4.x Voraussetzung (Target-Delivery ist noch nicht gewired).
|
||||
- [x] Dashboards in `docs/observability/website.md` — Metrics-Referenz, PromQL-Queries, Alert-Vorschläge, Grafana-Pfad.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue