Skip to content

refactor: migrate from Tinybird to ClickHouse#38

Draft
pauchiner wants to merge 47 commits into
mainfrom
fix/migrate-tinybird-to-clickhouse
Draft

refactor: migrate from Tinybird to ClickHouse#38
pauchiner wants to merge 47 commits into
mainfrom
fix/migrate-tinybird-to-clickhouse

Conversation

@pauchiner
Copy link
Copy Markdown
Contributor

@pauchiner pauchiner commented Feb 4, 2025

This PR successfully migrates the analytics services from Tinybird to ClickHouse

Reasons

  • Self-Hosting: with clickhouse we can finally self host Formizee with just one button.
  • Pricing: Tinybird updates it's pricing plans in April, making analytics more expensive.

Major Changes

  • internal/metrics and internal/analytics merged.
  • Added the analytics service to the docker compose.
  • http metrics are removed in favor of one source of true.
  • api, vault, dashboard and web now uses clickhouse.
  • internal/cache and internal/keys also use clickhouse.

TO-DO

  • Compile the dev docker-compose without errors.
  • Reconciliate responses on dashboard queries.
  • Update tools/local and development experience.
  • Update documentation.
  • Deploy ClickHouse on production
  • Migrate data from tinybird to ClickHouse

@pauchiner pauchiner added the refactor Improvement to the infrastructure label Feb 4, 2025
@pauchiner pauchiner self-assigned this Feb 4, 2025
@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 4, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
webpage ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 20, 2025 11:19am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
dashboard ⬜️ Skipped (Inspect) Mar 20, 2025 11:19am

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 4, 2025

Thank you for following the naming conventions for pull request titles! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request refactor Improvement to the infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant