Skip to content

feat: Add post-parse model configuration telemetry - #1665

Open
saishreeeee wants to merge 6 commits into
databricks:1.13.latestfrom
saishreeeee:wire-model-config-telemetry
Open

feat: Add post-parse model configuration telemetry#1665
saishreeeee wants to merge 6 commits into
databricks:1.13.latestfrom
saishreeeee:wire-model-config-telemetry

Conversation

@saishreeeee

@saishreeeee saishreeeee commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Description

Adds aggregate model-configuration statistics to the existing opt-in POST_PARSE telemetry event. The payload now captures:

  • Model scope, materialization, and language counts
  • Incremental strategies and relevant incremental configuration usage
  • Effective storage formats, catalog types, and compute types
  • Python submission methods
  • Selected Databricks model configs and constraints

The values are aggregated counts and do not include model names or configuration values. The post-parse hook supplies catalog resolution through the adapter so effective catalog and storage choices are recorded consistently.

Testing

(will check once proto v2 fields are reflected in the telemetry table)

Checklist

  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • I have updated the CHANGELOG.md and added information about my change to the "dbt-databricks next" section.
  • [Optional] I have run the dbt-databricks-pr-ready project skill for this PR and addressed its merge-readiness feedback

@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  dbt/adapters/databricks/telemetry
  builder.py 327-331, 342, 381, 398, 405, 480, 489, 495, 500, 502, 525-526, 547, 593, 668-681
  hooks.py 73-74
  models.py
Project Total  

This report was generated by python-coverage-comment-action

@saishreeeee saishreeeee changed the title Add post-parse model configuration telemetry feat: Add post-parse model configuration telemetry Sep 7, 2026
@saishreeeee saishreeeee self-assigned this Sep 7, 2026
Drop kitchen-sink and kwargs-forwarding coverage that restated collector maps, and retain cases that can fail without a matching production change.
Merge knobs, Z-order, and constraints were inflating adoption for strategies and formats the macros ignore, and v2 catalog_database HMS routing was labeled Unity.
@saishreeeee
saishreeeee marked this pull request as ready for review September 7, 2026 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant