Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(observer): connect to spark_stats database #123

Merged
merged 5 commits into from
May 30, 2024

Conversation

bajtos
Copy link
Member

@bajtos bajtos commented May 30, 2024

Also modify spark-stats to accept two connection strings:

  • DATABASE_URL pointing to spark_stats database
  • EVALUATE_DB_URL pointing to spark_evaluate database

Links:

Also modify spark-stats to accept two connection strings:
- DATABASE_URL pointing to spark_stats database
- EVALUATE_DB_URL pointing to spark_evaluate database

Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>
@bajtos bajtos requested a review from juliangruber May 30, 2024 13:35
bajtos added 4 commits May 30, 2024 15:43
Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>
Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>
Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I decided to try what the developer experience will be when migrations is its own package. If we like it, then we can apply this to spark-api monorepo too.

@bajtos bajtos merged commit 1e52665 into main May 30, 2024
9 checks passed
@bajtos bajtos deleted the stats-db-with-migrations branch May 30, 2024 14:33
@bajtos
Copy link
Member Author

bajtos commented May 30, 2024

@juliangruber hindsight please 🙏🏻

Copy link
Member

@juliangruber juliangruber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

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.

2 participants