Skip to content

Latest commit

 

History

History
465 lines (211 loc) · 13.3 KB

CHANGELOG.md

File metadata and controls

465 lines (211 loc) · 13.3 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, adheres to Semantic Versioning, and is generated by Changie.

dbt-snowflake-monitoring 5.3.1 - August 23, 2024

Features

  • Add lookback variable to stg_query_history (#163)

Contributors

dbt-snowflake-monitoring 5.3.0 - June 15, 2024

Features

  • Add new fields for stg_serverless_task_history (#160)

Contributors

dbt-snowflake-monitoring 5.2.2 - June 09, 2024

Features

  • Pull out stg_warehouse_events_history (#159)

dbt-snowflake-monitoring 5.2.1 - June 09, 2024

Features

  • Remove warehouse_cluster_status model (#158)

dbt-snowflake-monitoring 5.2.0 - May 28, 2024

Features

  • Add root_query_id, parent_query_id to stg_access_history (#156)

Contributors

dbt-snowflake-monitoring 5.1.2 - May 23, 2024

Fixes

  • Fix incremental filtering (#254)

dbt-snowflake-monitoring 5.1.1 - May 14, 2024

Fixes

  • Include overage spend on services recently introduced (#154)

Contributors

dbt-snowflake-monitoring 5.1.0 - May 06, 2024

Features

  • Support more usage types (#152)

Fixes

  • Update to use new service_type values (#151)
  • Calculate net cloud services costs for reader accounts (#153)

Contributors

dbt-snowflake-monitoring 5.0.4 - March 15, 2024

Fixes

  • Support different order json comment (#148)

dbt-snowflake-monitoring 5.0.3 - January 16, 2024

Features

  • Add dbt_snowflake_monitoring_incremental_days to set incremental lookback period (#140)

Contributors

dbt-snowflake-monitoring 5.0.2 - January 15, 2024

Fixes

  • Fix handling of service_type (#143)

dbt-snowflake-monitoring 5.0.1 - January 15, 2024

Fixes

  • Switch stg_metering_history to a table incrementalization to handle natural dupes (#142)

dbt-snowflake-monitoring 5.0.0 - January 14, 2024

Features

  • Add query acceleration costs and update cost per query algorithm to include them (#141)
  • Make cost_per_query model incremental (#141)

Breaking Changes

  • Add entity_id to stg_metering_history (#141)

To upgrade from 4.x.x, you'll need to full refresh the stg_metering_history model.

Fixes

  • Support quoting: true (#139)

Contributors

dbt-snowflake-monitoring 4.6.0 - November 09, 2023

Features

  • Add credit consumption to cost per query (#127)
  • Add query parameterized hash (#137)

Fixes

  • Support quoting: true (#139)

Contributors

dbt-snowflake-monitoring 4.5.3 - November 06, 2023

Features

  • Remove regex UDF to avoid timeout (#135)

dbt-snowflake-monitoring 4.5.2 - October 30, 2023

Fixes

  • Fix cluster number (#134)

dbt-snowflake-monitoring 4.5.1 - August 24, 2023

Fixes

  • Sort remaining balance daily with null contract numbers last (#128)

dbt-snowflake-monitoring 4.5.0 - August 09, 2023

Features

  • Add Snowpipe Streaming (#125)

dbt-snowflake-monitoring 4.4.1 - July 28, 2023

Features

  • Remove unneeded data_transfer_history source and stg model (#124)

dbt-snowflake-monitoring 4.4.0 - July 26, 2023

Features

  • Add Data Transfer costs (#123)

dbt-snowflake-monitoring 4.3.1 - June 23, 2023

Features

  • Set range for dbt_snowflake_query_tags (#121)

dbt-snowflake-monitoring 4.3.0 - June 21, 2023

Features

  • Add hourly_spend model (#116)

dbt-snowflake-monitoring 4.2.1 - June 03, 2023

Fixes

  • Daily rates improvements (#114)

dbt-snowflake-monitoring 4.2.0 - May 27, 2023

Features

  • Add node_meta to dbt_query model (#109)

Contributors

dbt-snowflake-monitoring 4.1.1 - May 12, 2023

Features

  • Support dbt 1.5.0 (#106)

dbt-snowflake-monitoring 4.1.0 - May 05, 2023

Features

  • Add currency to all models with spend data (#103)

Contributors

dbt-snowflake-monitoring 4.0.2 - April 08, 2023

Fixes

  • Prevent daily_spend from being held up by missing data (#97)

dbt-snowflake-monitoring 4.0.1 - April 07, 2023

Fixes

  • Don't let daily_spend be held up by stale rates (#95)

dbt-snowflake-monitoring 4.0.0 - March 21, 2023

Breaking Changes

  • Rename access_history models (#92)

dbt-snowflake-monitoring 3.0.1 - March 01, 2023

Fixes

  • Fix dbt_cloud_url var (#90)

Contributors

dbt-snowflake-monitoring 3.0.0 - February 26, 2023

After attempting to use only query comments or query tags in versions 1 and 2, we've learned we actually need both. The reasons for that are:

  • The is_incremental macro is only available from within the query tag dbt context, and is needed to determine whether a model run is incremental or not.
  • Query tags have a maximum character limit of 2000, which is easily exceeded by a list of refs containing more than a few models.

To upgrade from 2.x.x, follow the latest instructions in the Quickstart. The package is still able to process query metadata generated by previous versions of the package, so no data will be lost on upgrade.

Breaking Changes

  • Use query comments and query tags to avoid query tag character limit (#87)

dbt-snowflake-monitoring 2.0.2 - February 21, 2023

Fixes

  • Use the model database and schema for UDF creation (#83)

dbt-snowflake-monitoring 2.0.1 - February 17, 2023

Features

  • Add spend_net_cloud_services (#80)

dbt-snowflake-monitoring 2.0.0 - February 08, 2023

The most significant change in 2.0.0 is using query tags instead of comments to attach dbt metadata to queries. To upgrade from previous versions:

  1. Remove the query comment configuration from dbt_project.yml
  2. Follow the instructions to configure the query tag in the Quickstart.

Breaking Changes

  • Switch to using query tags instead of comments (#78)

dbt-snowflake-monitoring 1.6.1 - February 03, 2023

Fixes

  • Fixes is_incremental in get_query_comment macro (#77)

dbt-snowflake-monitoring 1.6.0 - February 01, 2023

Features

  • Add query_object_access and query_table_access models (#73)

dbt-snowflake-monitoring 1.5.0 - January 25, 2023

Fixes

  • Fix query_text_no_comments regex (#72)

dbt-snowflake-monitoring 1.4.3 - January 20, 2023

Fixes

  • Fix error on initial compile with no models created yet (#70)

dbt-snowflake-monitoring 1.4.2 - January 12, 2023

Fixes

  • Inner join daily_rates to avoid $0 entries in daily_spend for incomplete days (#66)

dbt-snowflake-monitoring 1.4.1 - January 06, 2023

Fixes

  • Increase incremental lookback window to account for changing cost data (#64)

dbt-snowflake-monitoring 1.4.0 - January 06, 2023

Features

  • Add remaining balance daily model (#58)
  • Improve cost per query freshness by using latest rates (#52)

Fixes

  • Select correct overage vs. regular rate each day (#59)

dbt-snowflake-monitoring 1.3.1 - December 31, 2022

Features

  • Support dbt_utils 1.0.0 (#48)

Contributors

dbt-snowflake-monitoring 1.3.0 - December 21, 2022

Features

  • Add dbt_queries model to easily understand dbt model costs with links to dbt Cloud (#47)

dbt-snowflake-monitoring 1.2.3 - December 15, 2022

Features

  • Add serverless tasks history and spend (#37)
  • Add warehouse_cluster_status, warehouse_credits_map and warehouses_type2_dimension models (#40)

Contributors

dbt-snowflake-monitoring 1.2.2 - December 05, 2022

Fixes

  • Show only complete days in daily_spend and materialize as table (#34)

dbt-snowflake-monitoring 1.2.1 - December 04, 2022

Fixes

  • Fix account_locator var (#33)

dbt-snowflake-monitoring 1.2.0 - November 26, 2022

Features

  • Add get_query_comment macro for model metadata in query history (#29)
  • Support overage usage type for PAYG accounts (#24)

Fixes

  • Division by zero in cost_per_query model (#27)

Contributors

dbt-snowflake-monitoring 1.1.0 - October 28, 2022

Features

  • Add daily_spend model which aligns with monthly bill (#13)

dbt-snowflake-monitoring 1.0.0 - October 17, 2022

Features

  • Add query_history_enriched model with additional dimensions and cost (#12)
  • Add cost per query model (#1)