Include env variables in your dbt™ models to audit your runs
Include any of the above variable in your dbt™ models. At run time, for each row of data in your data warehouse tables, with metadata to help audit each row.Trace a run in your warehouse logs
To find which schedule and run sent a query, add the audit variables to the dbt™ query comment indbt_project.yml. dbt™ then adds them to every query it sends, so they show in your warehouse query history.
PARADIME_SCHEDULE_SLUG to identify the schedule. It does not change when you rename the schedule. Use PARADIME_SCHEDULE_RUN_ID to identify one run.
FAQ
What is the hash in job names like schedule-user-manual-<id>?
What is the hash in job names like schedule-user-manual-<id>?
Bolt gives each run that is not started by the cron schedule a new random ID. Manual, API, Turbo CI and on-merge runs all get one. The ID is not the schedule ID or the run ID, so you cannot use it to find the schedule. Use
PARADIME_SCHEDULE_SLUG and PARADIME_SCHEDULE_RUN_ID in your logs instead, as shown above.Can I set the job name of a schedule?
Can I set the job name of a schedule?
No. The job name is generated by Bolt. To give a schedule an identifier that you choose, set a
slug in your schedule YAML. Bolt uses the slug in the API, webhooks and the PARADIME_SCHEDULE_SLUG variable. See Schedule slugs for the format and how to mint one.