Dashboards as Code/Dashboards as codeAnalytics Engineer

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.

Command

bruin run

Defined in

YAML + SQL

Works with

Bruin + your warehouse

What you get

files in gitpull request reviewsrevertible history

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 month

Run bruin run and the dashboard change ships through the normal git review flow.

Dashboards that live in git

Open source. Write YAML, run one command, query your warehouse directly.

Sign up to our newsletter

Practical updates on open-source data pipelines, AI analysts, governance, and what we are shipping at Bruin.

The signup form is hosted by Brevo. Accept cookies to load it.