trails/infrastructure/grafana/dashboards
Ullrich Schäfer 881991ca18
feat(journal): federation protocol doc + delivery observability
Task group 4 of federation-hardening.

4.1 — FEDERATION.md at the repo root: actor discovery (WebFinger, actor,
NodeInfo), object/activity types with real JSON examples (Note, Create,
Delete, the narrow follow-graph inbox), addressing, HTTP-Signature
expectations, the two-layer dedup contract, durable delivery/retry
policy, and blocklist moderation semantics — precise enough for another
implementation to interoperate. Linked from README and docs/architecture.

4.2 — three prom-client metrics + a journal dashboard row:
- `federation_delivery_total{outcome}` — incremented in deliver-activity
  (delivered/skipped/failed).
- `federation_inbox_dropped_total{reason}` — incremented at every inbox
  drop (duplicate | blocked); this is the counter deferred from task 3.2.
- `federation_queue_depth` — gauge sampled at scrape time in
  /api/metrics from PgBossMessageQueue.getDepth(); the restart-loss
  regression detector.
Grafana journal.json gains a Federation row (delivery rate, queue depth,
inbox drops); the logs panels shift down to make room.

Verified: dashboard JSON valid; journal typecheck + lint clean; unit
suite 357 passing (route-template guard unaffected).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-13 23:11:43 +02:00
..
brouter.json BRouter host observability + docs 2026-04-23 23:10:45 +02:00
business.json Remove type:dashboard from annotation config 2026-03-29 21:57:39 +02:00
demo-bot.json Add Bruno (demo-bot) Grafana dashboard 2026-04-19 11:25:17 +02:00
infrastructure.json Unwrap dashboard JSON for Grafana provisioning 2026-03-29 22:18:06 +02:00
journal.json feat(journal): federation protocol doc + delivery observability 2026-07-13 23:11:43 +02:00
monitoring-health.json feat(infra): self-monitor the observability stack + Overpass alert 2026-06-09 12:21:16 +02:00
overview.json fix(grafana): repair invalid JSON in overview dashboard 2026-06-09 12:00:19 +02:00
planner.json poi-index: Grafana dashboard/alert, docs, privacy manifest 2026-07-12 22:54:51 +02:00
service-health.json Update pgboss column names for v12 (snake_case) 2026-04-20 16:49:43 +02:00