Skip to content

Feature/build sync statistics and duration model - #198

Merged
fivetran-savage merged 3 commits into
release_branch/v2.6.0from
feature/build_sync_statistics_and_duration_model
Jul 8, 2026
Merged

Feature/build sync statistics and duration model#198
fivetran-savage merged 3 commits into
release_branch/v2.6.0from
feature/build_sync_statistics_and_duration_model

Conversation

@fivetran-savage

Copy link
Copy Markdown
  • GA-1027401
  • Adds fivetran_platform__sync_metrics model, which returns one record per completed ssync_stats log event, combining each sync's extract, process, load timing and volume statistics with its total duration and total records modified, enriched with connection and destination details.

Adds the fivetran_platform__sync_metrics model, returning one record per
completed sync (sync_stats log event) with extract/process/load timing and
volume, total duration, and total records modified, enriched with connection
and destination details. Includes yml docs, seed data, row-count integrity
test, and README/CHANGELOG/quickstart entries.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@fivetran-savage
fivetran-savage force-pushed the feature/build_sync_statistics_and_duration_model branch from de37bc9 to 605d637 Compare July 1, 2026 18:03
@fivetran-savage
fivetran-savage changed the base branch from release-branch/v2.6.0 to release_branch/v2.6.0 July 1, 2026 18:03

@fivetran-avinash fivetran-avinash left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fivetran-savage A few comments before merge!

Comment thread CHANGELOG.md
@@ -1,5 +1,14 @@
# dbt_fivetran_log v2.6.0

[PR #198](https://github.com/fivetran/dbt_fivetran_log/pull/198) includes the following update:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you have multiple PRs in this release. Can you update the PR to the release branch PR link and combine the Schema/Data change entires below.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is going to be a final review before the release branch is merged into main, so this review is just to merge this branch into the release branch. There will be another one or two branches being merged in before the final review, so I will clean up the full changelog/PR at that point.

Comment thread CHANGELOG.md
# dbt_fivetran_log v2.6.0

[PR #198](https://github.com/fivetran/dbt_fivetran_log/pull/198) includes the following update:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not relevant to this PR but we should probably add the following somewhere in this release CHANGELOG entry.

  • The new variables fivetran_platform_using_audit_trail and fivetran_platform_using_transformations and linked to the relevant README section on how to configure/notes on how it works with Quickstart.
  • Links to the models like you have in the other schema/data changes for fivetran_platform__errors_and_warnings and stg_fivetran_platform__connector_sdk_log

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changelog will need a full audit/cleanup before merging into main.

@@ -0,0 +1,23 @@
{{ config(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably add a new consistency test as well for this end model for future id checks.

Also looks as if audit_trail_enriched could use one as well.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, will add.

@fivetran-avinash fivetran-avinash left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fivetran-savage Approved to merge into your release branch

@fivetran-savage
fivetran-savage merged commit e1340b3 into release_branch/v2.6.0 Jul 8, 2026
10 checks passed
@fivetran-savage
fivetran-savage deleted the feature/build_sync_statistics_and_duration_model branch July 8, 2026 18:54
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.

2 participants