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

[Core] Anonymous usage stats move to flags key to dbt_project.yml #6707

Closed
damianCopilot opened this issue Dec 23, 2024 · 2 comments · Fixed by #6732
Closed

[Core] Anonymous usage stats move to flags key to dbt_project.yml #6707

damianCopilot opened this issue Dec 23, 2024 · 2 comments · Fixed by #6732
Assignees
Labels
content Improvements or additions to content dbt Core The changes proposed in this issue relate to dbt Core

Comments

@damianCopilot
Copy link

Link to the page(s) on docs.getdbt.com requiring updates

https://docs.getdbt.com/reference/global-configs/usage-stats

Tell us more about this update

when i add following to the profiles.yml
config:
send_anonymous_usage_stats: False

I have got a warning
Running with dbt=1.8.7
[WARNING]: Deprecated functionality

User config should be moved from the 'config' key in profiles.yml to the 'flags' key in dbt_project.yml.

correct way to turn it off:
dbt_project.yml
flags:
send_anonymous_usage_stats: False

Reviewers/Stakeholders/SMEs

@dataders
@mirnawong1

Related GitHub issues

No response

Additional information

No response

@damianCopilot damianCopilot added content Improvements or additions to content dbt Core The changes proposed in this issue relate to dbt Core labels Dec 23, 2024
@runleonarun runleonarun changed the title [Core] Anonymous usage stats [Core] Anonymous usage stats move config key to dbt_project.yml Jan 7, 2025
@runleonarun
Copy link
Collaborator

Thanks so much for opening this issue @damianCopilot! We'll get it tested and addressed.

@runleonarun runleonarun changed the title [Core] Anonymous usage stats move config key to dbt_project.yml [Core] Anonymous usage stats move to flags key to dbt_project.yml Jan 7, 2025
@runleonarun
Copy link
Collaborator

You are correct. As of dbt 1.8 we moved setting global config flags to profiles.yml:

Custom defaults of global config flags should be set in the flags dictionary in dbt_project.yml, instead of in profiles.yml. Support for profiles.yml has been deprecated.

@runleonarun runleonarun mentioned this issue Jan 7, 2025
4 tasks
@runleonarun runleonarun self-assigned this Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Improvements or additions to content dbt Core The changes proposed in this issue relate to dbt Core
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants