-
-
Notifications
You must be signed in to change notification settings - Fork 137
fix: staging files count in metrics #1207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: staging files count in metrics #1207
Conversation
current - we find group of arrow files and a parquet file in order to merge all arrow files in a group and write to parquet in disk in metrics, we set count of arrow files for 1 group not all change - we get sum of total count of arrow files from all the groups then set this sum in metrics fixes: parseablehq#1149
WalkthroughThe changes modify the metrics reporting for Arrow files and adjust logging levels. In Changes
Sequence Diagram(s)sequenceDiagram
participant StreamProcessor
participant FileSystem
participant MetricsService
StreamProcessor->>FileSystem: Retrieve staging_files list and metadata
FileSystem-->>StreamProcessor: Return list of Arrow files with sizes
StreamProcessor->>MetricsService: Set 'total_arrow_files' metric (file count)
StreamProcessor->>MetricsService: Set 'total_arrow_files_size' metric (total size)
sequenceDiagram
participant ObjectStorage
participant Logger
ObjectStorage->>Logger: Log info "Starting object_store_sync for stream"
Logger-->>ObjectStorage: Record info log entry
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
⏰ Context from checks skipped due to timeout of 90000ms (10)
🔇 Additional comments (3)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
current - we find group of arrow files and a parquet file in order to merge all arrow files in a group and write to parquet in disk in metrics, we set count of arrow files for 1 group not all change - we get sum of total count of arrow files from all the groups then set this sum in metrics fixes: parseablehq#1149
current - we find group of arrow files and a parquet file in order to merge all arrow files in a group and write to parquet in disk in metrics, we set count of arrow files for 1 group not all change - we get sum of total count of arrow files from all the groups then set this sum in metrics fixes: parseablehq#1149
current - we find group of arrow files and a parquet file
in order to merge all arrow files in a group and write to parquet in disk in metrics,
we set count of arrow files for 1 group not all
change - we get sum of total count of arrow files from all the groups then set this sum in metrics
Fixes #1149
Summary by CodeRabbit