[Feature] Ability to add labels to each job (not table/model) based on profiles.yml property #1366
Open
3 tasks done
Labels
enhancement
New feature or request
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: