Skip to content

add backup range_bytes_written metric#56

Merged
pboros merged 1 commit intotigrisdata:mainfrom
czephyr:backup_range_bytes
May 23, 2025
Merged

add backup range_bytes_written metric#56
pboros merged 1 commit intotigrisdata:mainfrom
czephyr:backup_range_bytes

Conversation

@czephyr
Copy link
Copy Markdown
Contributor

@czephyr czephyr commented May 23, 2025

I'm adding the fdb_cluster_backup_tag_kv_range_bytes_written metric for the backup.
This metric makes it possible to track the completeness of a snapshot in progress for a backup.

This is interesting to track how far is a oneshot backup from finishing, and how far is a continuous backup from reaching its restorable state by completing the first snapshot (the continuous backup won't be restorable until the initial snapshot is done).

The snapshot is done when the fdb_cluster_backup_tag_range_bytes_written value reaches fdb_cluster_data_total_kv_size_bytes.
This makes it possible to clearly track how long it took for a certain backup to reach its initial snapshot/complete.

@pboros
Copy link
Copy Markdown
Collaborator

pboros commented May 23, 2025

Very cool, thank you for the contribution.

@pboros pboros merged commit 193421a into tigrisdata:main May 23, 2025
1 check passed
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