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

Structured Logging Phase 2 #4260

Closed
26 tasks done
nathaniel-may opened this issue Nov 9, 2021 · 4 comments · Fixed by #4360
Closed
26 tasks done

Structured Logging Phase 2 #4260

nathaniel-may opened this issue Nov 9, 2021 · 4 comments · Fixed by #4360
Assignees
Labels
enhancement New feature or request Epic logging

Comments

@nathaniel-may
Copy link
Contributor

nathaniel-may commented Nov 9, 2021

Describe the Feature

Individual tasks are ordered by expected release with high priority unfinished items at the top of the list.

1.0.0-RC2 (released 11/22)

1.0.0-RC3 (released 11/30)

1.0.0 (goal: merge by Fri 12/03)

Cleanup:

@nathaniel-may nathaniel-may added enhancement New feature or request triage labels Nov 9, 2021
@jtcohen6 jtcohen6 removed the triage label Nov 9, 2021
@jtcohen6
Copy link
Contributor

jtcohen6 commented Nov 9, 2021

From my point of view, extra.run_state was pretty unintuitive, and it was the best we had to offer! I bet we can do something much better with node status reporting :) excited for us to take a more holistic view, and add in more events to fill in the gaps

@joellabes
Copy link
Contributor

It's unclear to me if this is already covered by "improve look and feel", but the new logs are much less visually parsable in some cases.

e.g. this output from dbt deps:

(dbt-dev) joel@Joel-Labes internal-analytics % dbt deps 
{"level": "info ", "msg": "Running with dbt=1.0.0-rc1", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}
{"level": "info ", "msg": "Installing dbt-labs/[email protected]", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}
{"level": "info ", "msg": "  Installed from version 0.7.4-b1", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}
{"level": "info ", "msg": "  Updated version available: 0.7.4", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}
{"level": "info ", "msg": "Installing dbt-labs/[email protected]", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}
{"level": "info ", "msg": "  Installed from version 0.13.0", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}
{"level": "info ", "msg": "  Updated version available: 0.13.1", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}
{"level": "info ", "msg": "Installing dbt-labs/[email protected]", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}
{"level": "info ", "msg": "  Installed from version 0.4.0", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}
{"level": "info ", "msg": "  Up to date!", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}
{"level": "info ", "msg": "Installing tailsdotcom/[email protected]", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}
{"level": "info ", "msg": "  Installed from version 0.5.0", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}
{"level": "info ", "msg": "  Up to date!", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}
{"level": "info ", "msg": "Installing fivetran/[email protected]", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}
{"level": "info ", "msg": "  Installed from version 0.4.0", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}
{"level": "info ", "msg": "  Updated version available: 0.4.1", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}
{"level": "info ", "msg": "Installing fivetran/[email protected]", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}
{"level": "info ", "msg": "  Installed from version 0.4.0", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}
{"level": "info ", "msg": "  Updated version available: 0.4.1", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}
{"level": "info ", "msg": "Installing dbt-labs/[email protected]", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}
{"level": "info ", "msg": "  Installed from version 0.4.0", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}
{"level": "info ", "msg": "  Up to date!", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}
{"level": "info ", "msg": "Installing fivetran/[email protected]", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}
{"level": "info ", "msg": "  Installed from version 0.4.3", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}
{"level": "info ", "msg": "  Up to date!", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}
{"level": "info ", "msg": "Installing fivetran/[email protected]", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}
{"level": "info ", "msg": "  Installed from version 0.2.9", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}
{"level": "info ", "msg": "  Up to date!", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}
{"level": "info ", "msg": "\nUpdates available for packages: ['dbt-labs/dbt_utils', 'dbt-labs/snowplow', 'fivetran/hubspot', 'fivetran/zendesk_source']                 \nUpdate your versions in packages.yml, then run dbt deps", "pid": 38573, "ts": "2021-11-17T22:31:48.762544"}

image

The old version:

(dbt-prod) joel@Joel-Labes internal-analytics % dbt deps
Running with dbt=0.21.0
Installing dbt-labs/[email protected]
  Installed from version 0.7.4
  Up to date!
Installing dbt-labs/[email protected]
  Installed from version 0.13.0
  Updated version available: 0.13.2
Installing dbt-labs/[email protected]
  Installed from version 0.4.0
  Up to date!
Installing tailsdotcom/[email protected]
  Installed from version 0.5.0
  Up to date!
Installing fivetran/[email protected]
  Installed from version 0.4.0
  Updated version available: 0.4.1
Installing fivetran/[email protected]
  Installed from version 0.4.0
  Updated version available: 0.4.1
Installing dbt-labs/[email protected]
  Installed from version 0.4.0
  Up to date!
Installing fivetran/[email protected]
  Installed from version 0.4.3
  Up to date!
Installing fivetran/[email protected]
  Installed from version 0.2.9
  Up to date!

Updates available for packages: ['dbt-labs/snowplow', 'fivetran/hubspot', 'fivetran/zendesk_source']                 
Update your versions in packages.yml, then run dbt deps

image

@emmyoop
Copy link
Member

emmyoop commented Nov 17, 2021

@joellabes This was a bug. #4302 will resolve it.

@joellabes
Copy link
Contributor

Phenomenal 😍 thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Epic logging
Projects
None yet
4 participants