-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Structlog batch exports logging (#18458)
* fix: Checkout master before checking for hogql changes * fix: But go back to branch after done * fix: Instead just diff with origin/master * fix: Install libantlr, what's the worst that can happen? * fix: Install antlr the hogql-way * fix: Let's just checkout everything * feat(batch-exports): Add backfill model and service support * test(batch-exports-backfills): Add Workflow test * chore(batch-exports-backfill): Bump migration * feat(batch-exports): Add RedshiftBatchExportWorkflow * feat(batch-exports): Add Redshift to BatchExport destinations * feat(batch-exports): Support properties_data_type Redshift plugin parameter * refactor(batch-exports): Insert rows instead of using COPY * fix: Remove unused migration * chore: Require aiokafka * feat: Implement new structlog batch exports logger * refactor: Use new structlog logger everywhere * test: Add tests, fix things * fix: Remove old tests * chore: Change typing of return logger * chore: Bump structlog * chore: Extend docstrings * fix: Don't use async logging as it's unsupported by temporal runtime * test: Add logger tests * fix: Mix pytestmark lists * fix: Remove unused imports * fix: Cleanup pytest warnings * fix: Create and drop dataset for bigquery tests * fix: Typing issue? * fix: Let's just checkout everything * fix: Use global event loop in tests * fix: Blow-up cache * fix: Truncate only if table exists * revert-me: Skip all postgres tests * fix: Connect to kafka in localhost * fix: Lazily connect to Kafka * fix: Resolve conflicts * fix: Capture temporal context once and bind it to the logger * fix: Make configure logger sync * fix: Keep strong reference to background tasks * fix: Continue consuming from log queue even if we fail to produce * fix: Also catch the producer not starting * fix: Remove unused await * fix: Log kafka producer error after logger is configured
- Loading branch information
1 parent
fded6fd
commit a8f6d92
Showing
18 changed files
with
849 additions
and
364 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.