Skip to content

Improve logging - #19

Merged
YaroShkvorets merged 1 commit into
mainfrom
improve-logging
Dec 22, 2025
Merged

Improve logging#19
YaroShkvorets merged 1 commit into
mainfrom
improve-logging

Conversation

@YaroShkvorets

Copy link
Copy Markdown
Member

This pull request enhances the database sinker's statistics tracking and logging capabilities by adding real-time monitoring of buffered rows and flush timing. It introduces new statistics fields, updates flush handling to reset and log these stats, and improves the visibility of the loader's state for debugging and performance analysis.

Extract GetBufferedRowCount() method from FlushNeeded() to enable separate tracking of buffered row count. Update stats to track buffered rows and time since last flush, logging both metrics for better observability.
@YaroShkvorets
YaroShkvorets merged commit 26c750b into main Dec 22, 2025
2 checks passed
@YaroShkvorets
YaroShkvorets deleted the improve-logging branch December 22, 2025 23:01
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.

1 participant