Evaluating if data pipeline can be deprecated
When a pipeline fails, ask: “Should this pipeline be fixed, or can it be deprecated?”
Evaluation Process
Step 1: Check dbt Model Usage
Tool: MonteCarlo
- Find the most downstream models from the failed pipeline
- Locate the asset and check its Table Lineage
- Review query activity: Check if ANY table in the lineage has been queried in the last 60 days
- ✅ Recent queries found → Pipeline is actively used
- ❌ No queries in 60 days → Flag for potential deprecation
Step 2: Find Connected Dashboards
Tool: MonteCarlo
- Navigate from table lineage to Downstream Reports
- Filter for Tableau content:
Tableau Workbook
Tableau Live Data Source
Step 3: Analyze Dashboard Usage
Tool: Tableau Dashboard Viewership Dashboard
Quick checks:
- Location check: Is the dashboard already in the
Admin Archive
folder?- ✅ Yes → Already deprecated, safe to remove pipeline
- Filter by dashboard name (top left input)
- Check recent usage in
Workbook - Dashboard Views per Month
chart (bottom left) - Interpret results:
- Rightmost month = most recent usage
- Missing current month = no usage this month
Step 4: Make the Decision
Deprecate if ALL conditions are met:
- ❌ No dbt model queries in last 60 days
- ❌ No dashboard views in last 60 days
- ❌ No other downstream usage identified
Before deprecating:
- ✋ Confirm with stakeholders (data owners, business users)
- 📋 Document the decision
Step 5: Execute Deprecation
Actions:
- Remove the data pipeline which includes all code and data
- Archive Tableau content: Contact BI team in
#data-tableau
Slack channel
Quick Decision Tree
Pipeline Failed
↓
Models queried in 60 days? ──→ YES ──→ Fix the pipeline
↓ NO
Dashboards viewed in 60 days? ──→ YES ──→ Fix the pipeline
↓ NO
Stakeholder confirmation? ──→ NO ──→ Keep pipeline
↓ YES
Deprecate pipeline + Archive dashboards
Last modified August 11, 2025: when to deprecate data pipeline (
419d5307
)