-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert messages to struct logs (#6064)
* Initial structured logging changes * remove "this" from core/dbt/events/functions.py * CT-1047: Fix execution_time definitions to use float * CT-1047: Revert unintended checking of changes to functions.py * WIP * first pass to resolve circular deps * more circular dep resolution * remove a bunch of duplication * move message into log line * update comments * fix field that wen missing during rebase * remove double import * remove some comments and extra code * fix pre-commit * rework deprecations * WIP converting messages * WIP converting messages * remove stray comment * WIP more message conversion * WIP more message conversion * tweak the messages * convert last message * rename * remove warn_or_raise as never used * add fake calls to all new events * fix some tests * put back deprecation * restore deprecation fully * fix unit test * fix log levels * remove some skipped ids * fix macro log function * fix how messages are built to match expected outcome * fix expected test message * small fixes from reviews * fix conflict resolution in UI Co-authored-by: Gerda Shank <gerda@dbtlabs.com> Co-authored-by: Peter Allen Webb <peter.webb@dbtlabs.com>
- Loading branch information
1 parent
8145eed
commit be4a91a
Showing
25 changed files
with
1,055 additions
and
561 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
SECRET_ENV_PREFIX = "DBT_ENV_SECRET_" | ||
DEFAULT_ENV_PLACEHOLDER = "DBT_DEFAULT_PLACEHOLDER" | ||
METADATA_ENV_PREFIX = "DBT_ENV_CUSTOM_ENV_" | ||
|
||
MAXIMUM_SEED_SIZE = 1 * 1024 * 1024 | ||
MAXIMUM_SEED_SIZE_NAME = "1MB" | ||
|
||
PIN_PACKAGE_URL = ( | ||
"https://docs.getdbt.com/docs/package-management#section-specifying-package-versions" | ||
) |
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.