You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues, and I could not find an existing issue for this feature
I am requesting a straightforward extension of existing dbt-bigquery functionality, rather than a Big Idea better suited to a discussion
Describe the feature
I would like to use one Service Account connection to BigQuery. The problem with this however is that the logs would not show which person actually runs dbt. dbt already adds dbt_invocation_id to all queries as labels and I would like to be able to configure a label in profiles.yml, that is also added to all queries.
Then in Log Explorer in GCP I can differentiate between people if this were added to the labels. I wouldn't have to use ADC or other short-lived credentials, or create separate service account for each user.
Describe alternatives you've considered
Creating a fork of the bigquery connector and adding it by myself.
Who will this benefit?
Anybody using bigquery with service account connection that would like to still have user-level details in the logs or add any other labels to all queries
Are you interested in contributing this feature?
Yes
Anything else?
No response
The text was updated successfully, but these errors were encountered:
moseleyi
changed the title
[Feature] Ability to add project-level labels to each job
[Feature] Ability to add labels to each job (not table/model)
Oct 9, 2024
moseleyi
changed the title
[Feature] Ability to add labels to each job (not table/model)
[Feature] Ability to add labels to each job (not table/model) based on profiles.yml property
Oct 9, 2024
Is this your first time submitting a feature request?
Describe the feature
I would like to use one Service Account connection to BigQuery. The problem with this however is that the logs would not show which person actually runs dbt. dbt already adds
dbt_invocation_id
to all queries as labels and I would like to be able to configure a label inprofiles.yml
, that is also added to all queries.I found this code when labels are added. Imaging we add
labels
property in profiles:Then in Log Explorer in GCP I can differentiate between people if this were added to the labels. I wouldn't have to use ADC or other short-lived credentials, or create separate service account for each user.
Describe alternatives you've considered
Creating a fork of the bigquery connector and adding it by myself.
Who will this benefit?
Anybody using bigquery with service account connection that would like to still have user-level details in the logs or add any other labels to all queries
Are you interested in contributing this feature?
Yes
Anything else?
No response
The text was updated successfully, but these errors were encountered: