Databricks-native dbt observability¶
Deploy dbt Core, preserve per-attempt evidence, and query sanitized health facts without sending operational telemetry to another platform. This site documents the complete reference implementation in this repository.
Free Edition is not a regulated production environment
The tested workspace is AWS Databricks Free Edition. It is useful for functional validation, but it is non-commercial and lacks compliance enforcement, security customization, private networking, account-level APIs, an SLA, and support. Apply the design only inside your organization's approved Databricks account, retention controls, notification channels, and operating procedures.
Use only the included public demonstration data in this personal workspace. Never upload Personal Data, confidential, proprietary, or regulated data to Free Edition. Databricks documents it for exploratory datasets and reserves the right to train on uploaded data.
The outcome¶
flowchart LR
source["Source job<br/>dbt build"] --> warehouse["SQL warehouse"]
source --> staging["Attempt staging<br/>manifest + run results"]
collector["Collector job<br/>every 15 minutes"] -->|"completed runs"| source
staging --> collector
collector --> archive["Deterministic evidence archive"]
collector --> base["Restricted Delta tables"]
base --> health["Sanitized health views"]
lakeflow["Optional system.lakeflow"] -.-> health
The source job reports the dbt result. The collector reports capture, validation, cleanup, and backlog failures independently. Each attempt is keyed by workspace, job, parent run, repair, task run, and execution, so retries cannot overwrite one another.
Choose your path¶
-
Learn by doing
Authenticate, deploy the development target, run dbt, and observe your first governed capture.
-
Complete a task
Configure M2M deployment, rotate a secret, query health, grant access, or investigate a failure.
-
Look up a contract
Find exact variables, commands, permissions, job settings, schemas, states, limits, and error codes.
-
Understand the design
Read why the jobs are separate, how authentication changes by context, and where the evidence boundary ends.
Current support boundary¶
| Context | Implemented authentication | Credential state | Free Edition |
|---|---|---|---|
| Local human CLI | Databricks OAuth U2M profile | cached locally; never shared with CI | yes |
| Local dbt Core | short-lived token from the U2M profile | process environment | yes |
| GitHub production | workspace OAuth M2M | protected secret, rotated | yes |
| GitHub OIDC | account-level token federation | no Databricks secret | no |
The personal email address is not the limiting factor. GitHub OIDC requires an account-level federation policy, while Free Edition exposes no account console or account-level APIs. See Authentication support.
Sources and validation¶
The design is grounded in the repository, a live AWS workspace, and official documentation:
- Databricks Free Edition limitations
- Free trial and Free Edition comparison
- Databricks OAuth M2M
- Databricks GitHub federation
- Databricks job notifications
- dbt artifacts
The production verification guide defines the acceptance evidence; the security explanation states what this implementation does not prove.