Configurable node status in log output
See original GitHub issueDescribe the feature
Users should be able to control the information that dbt includes in its standard log output.
Per @drewbanin in #2526:
- Provide a config option that accepts a templated string for the model status
- Provide a context that has variables in scope (like
job
,materialization
,status
,runtime
, etc)
Describe alternatives you’ve considered
- We continue to make these decisions for everyone
- We define one-off
config
parameters that users can flip on or off inprofiles.yml
Who will this benefit?
- This is most immediately beneficial on BigQuery, for which pricing depends on information other than end-to-end query timing
- I can imagine that other adapters will have their own attendant metadata they want to report
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to Collect, Customize, and Centralize Node.js Logs
Create your own logger and customize its output; Enrich your logs with metadata, custom formats, and exception handling; Dig into your Node.js ...
Read more >Node Logging Basics - The Ultimate Guide To Logging - Loggly
Node Logging Basics. Node provides an easily extensible logging system, allowing you to control which messages get logged and to where they are...
Read more >Best Practices for Logging in Node.js - AppSignal Blog
Good logging practices are crucial for monitoring and troubleshooting your Node.js servers. They help you track errors in the application, ...
Read more >11 Best Practices for Logging in Node.js - Better Stack
11 Best Practices for Logging in Node.js · 1. Choose a standard and configurable logging framework · 2. Log using a structured format...
Read more >Node.js Logging Tutorial: Best Practices, Examples & More
So, I'll show you how to configure a nice format with response times, status codes, and much more. Start by creating a file...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
After reading through the discussion in #2526, I’d like to add to request an additional (small) bit of configuration (along with
bytes_processed
andslot_duration
) to specify exact versus rounded row counts. In dbt 0.18.0, the logging output for row counts changed from exact values (like18 426
) to rounded values (like18K
). I understand the design decisions behind this shift, and this compressed format suits us most of the time. However, there are times when having an exact row count would be useful for debugging purposes.Tagging @jars who also has a stake in this 😃
Although we are closing this issue as stale, it’s not gone forever. Issues can be reopened if there is renewed community interest; add a comment to notify the maintainers.