Pipeline Cost Analysis Automation
This cookbook demonstrates how to create, deploy, and integrate the Pipeline Cost Analysis Agent into a data engineering workflow.
The agent attributes BigQuery query costs to dbt models and pipeline stages, aggregates costs at pipeline level, and stores them in a centralized BigQuery table for historical analysis and visualization.
Quick Start
Set up BigQuery billing export - Enable detailed cost data export and create the cost history table
Create the Chicory agent - Build and deploy your cost analysis agent with the provided template
Configure Airflow integration - Add the post-hook task to trigger cost analysis after pipeline runs
Run and visualize - Execute your pipeline and view cost analytics in the dashboard
Contents
Last updated