Skip to content

About

Read-only FinOps app for Databricks that turns system tables into ranked, evidence-backed cost-saving recommendations for clusters, SQL warehouses, jobs, pipelines and serving, without double-counting savings.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

BrickPulse

Evidence-led, read-only FinOps for Databricks.
From account-level spend down to the evidence behind every savings opportunity.

CI License: Apache-2.0 Python 3.10+ Node 20.19+

English · Español · Português


BrickPulse is a Databricks App that reads your account's system tables, finds where money is being wasted, and explains each finding with the evidence, the effort involved and a savings range. It is advisory and read-only: it never changes the resources it analyzes.

BrickPulse overview: observed spend, estimated opportunity and tracked savings

More screenshots

Next best actions ranked by estimated savings, effort and priority

What it does

  • Spend overview. Observed spend by workspace, day and SKU, for the workspaces in the metastore region.
  • 42 cost rules. Rules cover clusters, SQL warehouses, jobs, pipelines, model serving, AI inference, storage and governance. Each finding comes with evidence, an estimate range, step-by-step guidance and a link to the resource in Databricks.
  • Next best actions. Findings are ranked by estimated savings, effort and priority. When several options overlap on the same resource, they are grouped instead of summed.
  • Analysis. Cost anomalies, tag-based allocation and serverless readiness.
  • Savings tracking. Savings are estimated from the changes BrickPulse observes after a recommendation. These are estimates, not invoice reconciliation.
  • Contract pricing (optional). Extra estimates from system.billing.account_prices reflect negotiated discounts. List price stays the comparable baseline.
  • Optional surfaces. An Apps inventory, Genie costs and an Ask Genie panel. All three are off by default.
  • Three languages. The UI is available in English, Spanish and Brazilian Portuguese. It detects the browser language, remembers an explicit choice and falls back to English. Amounts are always USD.

Design principles

  • Every number explains itself. Each figure shows its period, source, confidence and freshness.
  • Unknown is not zero. Missing data is never shown as zero spend or "no opportunities".
  • Language never changes the math. Scoring, ranking and amounts don't depend on the UI language.
  • Recommend, never act. BrickPulse has no write path to the resources it analyzes.
  • Least privilege. The app's service principal is granted SELECT table by table, never on a whole schema. At first, only the person who installed it can open the app.

Quick start (local demo)

You can try the full UI on synthetic data, with no Databricks workspace. You need Python 3.10+, Node 20.19+ and npm.

git clone https://github.com/pedrotramos/BrickPulse.git && cd BrickPulse
python3 -m venv .venv && .venv/bin/python -m pip install -e '.[dev]'
npm --prefix frontend ci
npm run dev        # then open http://127.0.0.1:5173

Demo data is clearly labeled in the UI and never touches a real workspace. See the getting started guide for details.

Deploy to your workspace

BrickPulse ships as a Declarative Automation Bundle. It contains the app, a serverless pipeline and a daily refresh job. One command checks access, deploys everything, runs the first refresh and starts the app:

.venv/bin/python scripts/deploy.py --profile <PROFILE> --target prod \
  --catalog <CATALOG> --warehouse-id <WAREHOUSE_ID>

Read the deployment guide for prerequisites, the system-table grants, upgrades and uninstalling.

Documentation

Guide
Getting started Local setup, demo mode, running the tests
Deployment Installing in a workspace, upgrades, dev vs prod, uninstall
Configuration Pricing mode, optional tabs, environment variables, rule thresholds
Security Identities, user scoping, granting access to more people
Troubleshooting Missing grants, empty data, switched-off rules

Contributor references (English only): Architecture, Data model, Savings confidence model, Adding a rule, Testing, Design system. The full index is in docs/.

Project structure

frontend/src/        React app: app shell, features, components, lib, locales (en, es, pt-BR)
src/brickpulse/
  server/            FastAPI: API, identity, data sources, services, i18n, compiled UI (static/)
  rules/             42 rule plugins, Jinja SQL templates and thresholds
  pipelines/         Lakeflow precompute pipeline, change tracker and DDL
resources/           Bundle resources: app, pipeline, daily job (see databricks.yml)
scripts/             Dev server, deploy, wheel build, regression baseline
tests/               Python test suite and the frozen financial baseline
docs/                User guides (en, es, pt-BR) and contributor references

Contributing

Contributions are welcome, whether they're new rules, bug fixes, translations or docs. Read CONTRIBUTING.md to get started, and please follow the Code of Conduct. Report security issues privately, as described in SECURITY.md.

License

Apache License 2.0. See NOTICE for third-party attributions.

BrickPulse is an independent open-source project. It is not affiliated with, endorsed by or sponsored by Databricks, Inc. "Databricks" is a trademark of Databricks, Inc.

About

Read-only FinOps app for Databricks that turns system tables into ranked, evidence-backed cost-saving recommendations for clusters, SQL warehouses, jobs, pipelines and serving, without double-counting savings.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages