-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
129 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
## dbt-bigquery-monitoring v0.5.3 - August 12, 2024 | ||
|
||
### Docs | ||
|
||
- Add missing YML for billing models ([#0](https://github.com/bqbooster/dbt-bigquery-monitoring/issues/0)) | ||
|
||
### Contributors | ||
- [@Kayrnt](https://github.com/Kayrnt) ([#0](https://github.com/bqbooster/dbt-bigquery-monitoring/issues/0)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
models/storage/datamart/dataset_with_better_pricing_on_logical_billing_model.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
version: 2 | ||
|
||
models: | ||
- name: dataset_with_better_pricing_on_logical_billing_model | ||
description: > | ||
A model that identifies datasets with a better pricing model under logical billing, | ||
compared to physical billing, by evaluating the difference in storage costs. | ||
meta: | ||
label: "Better Pricing Model (Logical)" | ||
order_fields_by: "label" | ||
group_label: "Storage cost optimization" | ||
columns: | ||
- name: project_id | ||
description: The ID of the BigQuery project. | ||
- name: dataset_id | ||
description: The ID of the dataset. | ||
- name: total_logical_tb | ||
description: The total size of the dataset in terabytes, as calculated by logical bytes. | ||
- name: total_physical_tb | ||
description: The total size of the dataset in terabytes, as calculated by physical bytes. | ||
- name: logical_cost_monthly_forecast | ||
description: The forecasted monthly storage cost for the dataset under the logical billing model. | ||
- name: physical_cost_monthly_forecast | ||
description: The forecasted monthly storage cost for the dataset under the physical billing model. | ||
- name: storage_pricing_model_difference | ||
description: The difference in storage cost between the logical and physical pricing models. |
26 changes: 26 additions & 0 deletions
26
models/storage/datamart/dataset_with_better_pricing_on_physical_billing_model.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
version: 2 | ||
|
||
models: | ||
- name: dataset_with_better_pricing_on_physical_billing_model | ||
description: > | ||
A model that identifies datasets with a better pricing model under physical billing, | ||
compared to logical billing, by evaluating the difference in storage costs. | ||
meta: | ||
label: "Better Pricing Model (Physical)" | ||
order_fields_by: "label" | ||
group_label: "Storage cost optimization" | ||
columns: | ||
- name: project_id | ||
description: The ID of the BigQuery project. | ||
- name: dataset_id | ||
description: The ID of the dataset. | ||
- name: total_logical_tb | ||
description: The total size of the dataset in terabytes, as calculated by logical bytes. | ||
- name: total_physical_tb | ||
description: The total size of the dataset in terabytes, as calculated by physical bytes. | ||
- name: logical_cost_monthly_forecast | ||
description: The forecasted monthly storage cost for the dataset under the logical billing model. | ||
- name: physical_cost_monthly_forecast | ||
description: The forecasted monthly storage cost for the dataset under the physical billing model. | ||
- name: storage_pricing_model_difference | ||
description: The difference in storage cost between the logical and physical pricing models. |
28 changes: 28 additions & 0 deletions
28
models/storage/datamart/table_with_better_pricing_on_logical_billing_model.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
version: 2 | ||
|
||
models: | ||
- name: table_with_better_pricing_on_logical_billing_model | ||
description: > | ||
A model that identifies tables with a better pricing model under logical billing, | ||
compared to physical billing, by evaluating the difference in storage costs. | ||
meta: | ||
label: "Better Pricing Model (Logical)" | ||
order_fields_by: "label" | ||
group_label: "Storage cost optimization" | ||
columns: | ||
- name: project_id | ||
description: The ID of the BigQuery project. | ||
- name: dataset_id | ||
description: The ID of the dataset containing the table. | ||
- name: table_id | ||
description: The ID of the table being analyzed. | ||
- name: total_logical_tb | ||
description: The total size of the table in terabytes, as calculated by logical bytes. | ||
- name: total_physical_tb | ||
description: The total size of the table in terabytes, as calculated by physical bytes. | ||
- name: logical_cost_monthly_forecast | ||
description: The forecasted monthly storage cost for the table under the logical billing model. | ||
- name: physical_cost_monthly_forecast | ||
description: The forecasted monthly storage cost for the table under the physical billing model. | ||
- name: storage_pricing_model_difference | ||
description: The difference in storage cost between the logical and physical pricing models. |
28 changes: 28 additions & 0 deletions
28
models/storage/datamart/table_with_better_pricing_on_physical_billing_model.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
version: 2 | ||
|
||
models: | ||
- name: table_with_better_pricing_on_physical_billing_model | ||
description: > | ||
A model that identifies tables with a better pricing model under physical billing, | ||
compared to logical billing, by evaluating the difference in storage costs. | ||
meta: | ||
label: "Better Pricing Model (Physical)" | ||
order_fields_by: "label" | ||
group_label: "Storage cost optimization" | ||
columns: | ||
- name: project_id | ||
description: The ID of the BigQuery project. | ||
- name: dataset_id | ||
description: The ID of the dataset containing the table. | ||
- name: table_id | ||
description: The ID of the table being analyzed. | ||
- name: total_logical_tb | ||
description: The total size of the table in terabytes, as calculated by logical bytes. | ||
- name: total_physical_tb | ||
description: The total size of the table in terabytes, as calculated by physical bytes. | ||
- name: logical_cost_monthly_forecast | ||
description: The forecasted monthly storage cost for the table under the logical billing model. | ||
- name: physical_cost_monthly_forecast | ||
description: The forecasted monthly storage cost for the table under the physical billing model. | ||
- name: storage_pricing_model_difference | ||
description: The difference in storage cost between the logical and physical pricing models. |