How do I version control dashboards in git?
Each dashboard and metric lives in a YAML file that is committed to a git repository. Changes go through pull requests and reviews, so every edit has a history and can be reverted. Bruin does this in one platform: ingestion, SQL and Python pipelines, quality checks, lineage, and an AI data analyst that answers in Slack, Microsoft Teams, Google Chat, WhatsApp, Discord, Telegram, email and the browser.
Command
bruin runDefined in
YAML + SQL
Works with
Bruin + your warehouse
What you get
How it works in code
# dashboards/revenue_overview.yml
dashboard:
name: revenue_overview
owner: analytics
charts:
- title: MRR
type: line
query: SELECT month, mrr FROM analytics.mrr_monthly ORDER BY monthRun bruin run and the dashboard change ships through the normal git review flow.
Related use cases
Define a dashboard as code
How do I define a dashboard as code?
Dashboards as codeBuild a metrics layer so metrics stay consistent
How do I build a metrics layer so metrics stay consistent?
Dashboards as codeBuild dashboards directly from dbt models
How do I build dashboards directly from dbt models?
Dashboards that live in git
Bruin CLI and ingestr are on GitHub.
A demo walks through your own data.