Skip to main content
Paradime provides a set of system environment variables that can be added to your dbt™ models to inject metadata at run time to add more information to your materialized tables in your data warehouse. These can be used to help identify which schedules run relates to a given row of data in your tables.

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 in dbt_project.yml. dbt™ then adds them to every query it sends, so they show in your warehouse query history.
Use 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

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.
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.