Skip to content

Complete Phase 7 telemetry, analytics, and usage - #4

Merged
vaheed merged 13 commits into
mainfrom
agent/complete-phase-7
Jul 20, 2026
Merged

Complete Phase 7 telemetry, analytics, and usage#4
vaheed merged 13 commits into
mainfrom
agent/complete-phase-7

Conversation

@vaheed

@vaheed vaheed commented Jul 20, 2026

Copy link
Copy Markdown
Owner

Summary

  • stream bounded OpenResty and DNSdist telemetry through Vector into short-retention ClickHouse raw tables and longer-retention aggregates
  • add policy-scoped domain/admin analytics, raw logs, Filament views, and idempotent PostgreSQL usage rollups with stable JSON/CSV exports
  • add buffer/drop monitoring, outage/privacy/runbook documentation, and a real-runtime Phase 7 qualification covering 20,000 analytics domain IDs

Validation

  • make dev-phase7-e2e
  • full isolated PHPUnit: 139 tests, 1,108 assertions
  • vendor/bin/pint --test
  • Vector configuration validation
  • Prometheus configuration/rule validation (4 rules)
  • development and production-example Compose validation
  • OpenAPI contract check
  • documentation link check
  • git diff --check main...HEAD

Operations

  • applies 2026_07_20_000000_create_usage_rollups.php non-destructively
  • ClickHouse initialization adds raw, hourly, daily, and materialized-view tables; existing persistent development storage was migrated without volume removal
  • manual browser automation was not run; the exact owner-run Phase 7 checklist is in docs/manual-browser-qualification.md

@vaheed
vaheed marked this pull request as ready for review July 20, 2026 09:53
@vaheed
vaheed merged commit d774b25 into main Jul 20, 2026
17 of 18 checks passed
@vaheed
vaheed deleted the agent/complete-phase-7 branch July 20, 2026 11:06
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