DBT: Dbt Metrics
DBT model name: dbt_metrics
Explore dependencies/lineage: link
Description
Metadata about metrics in the project, including configuration and properties from the dbt graph. Each row contains information about a single metric. Data is loaded every time this model is executed. It is recommended to execute the model every time a change is merged to the project.
Details
| Column | Type | Description |
|---|---|---|
unique_id |
string |
|
name |
string |
|
label |
string |
|
model |
string |
|
type |
string |
|
sql |
string |
|
timestamp |
string |
|
filters |
string |
|
time_grains |
string |
|
dimensions |
string |
|
depends_on_macros |
string |
|
depends_on_nodes |
string |
|
description |
string |
|
tags |
string |
|
meta |
string |
|
package_name |
string |
|
original_path |
string |
|
path |
string |
|
generated_at |
string |
No data tests defined 🧐
Models
Macros
get_config_varget_default_table_typeget_default_incremental_strategyget_dbt_metrics_empty_table_queryupload_dbt_metrics
No called script or script source not found.
{{
config(
materialized="incremental",
transient=False,
post_hook="{{ elementary.upload_dbt_metrics() }}",
unique_key="unique_id",
on_schema_change="sync_all_columns",
full_refresh=elementary.get_config_var("elementary_full_refresh"),
table_type=elementary.get_default_table_type(),
incremental_strategy=elementary.get_default_incremental_strategy(),
)
}}
{{ elementary.get_dbt_metrics_empty_table_query() }}
-
Dbt path:
trase_ducklake.main_elementary.dbt_metrics -
Containing yaml link: trase/data_pipeline/models/dbt_artifacts.yml
-
Model file: trase/data_pipeline/models/edr/dbt_artifacts/dbt_metrics.sql