Skip to content

Conversation

@Niks988
Copy link
Collaborator

@Niks988 Niks988 commented Jul 25, 2025

Description

  • Add event batching (50 events, 5s timeout) for better performance
  • Implement persistent queue (10K events) to prevent event loss during QuestDB downtime
  • Add connection health monitoring and auto-reconnection
  • Improve logging with clear batch and queue status
  • Add graceful shutdown with event flushing
  • Eliminate ECONNRESET spam with error rate limiting
  • Add fallback mechanisms and memory leak protection

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

@Mihajlo-Pavlovic
Copy link
Collaborator

Did partial review, can you address these comments, also address claued raised issues and liter errors

swamala added a commit that referenced this pull request Oct 29, 2025
   - Remove signal handler duplication to prevent shutdown race conditions
   - Fix telemetry cleanup method access path
   - Extract magic values to constants for better maintainability
   - Limit proof event logging to prevent huge logs
   - Refactor sequential retry to parallel for better performance
   - Fix queue status log consistency
   - Remove dead code (logLifetimeProofSummary)

   Addresses review comments from PR #4014
cursor[bot]

This comment was marked as outdated.

swamala added a commit that referenced this pull request Oct 29, 2025
   - Remove signal handler duplication to prevent shutdown race conditions
   - Fix telemetry cleanup method access path
   - Extract magic values to constants for better maintainability
   - Limit proof event logging to prevent huge logs
   - Refactor sequential retry to parallel for better performance
   - Fix queue status log consistency
   - Remove dead code (logLifetimeProofSummary)

   Addresses review comments from PR #4014
@swamala swamala force-pushed the improvements/telemetry-upgrades branch from ac685e5 to dcf8f85 Compare October 29, 2025 12:45
cursor[bot]

This comment was marked as outdated.

swamala added a commit that referenced this pull request Oct 29, 2025
   - Remove signal handler duplication to prevent shutdown race conditions
   - Fix telemetry cleanup method access path
   - Extract magic values to constants for better maintainability
   - Limit proof event logging to prevent huge logs
   - Refactor sequential retry to parallel for better performance
   - Fix queue status log consistency
   - Remove dead code (logLifetimeProofSummary)

   Addresses review comments from PR #4014
@swamala swamala force-pushed the improvements/telemetry-upgrades branch from dcf8f85 to adb895b Compare October 29, 2025 13:56
cursor[bot]

This comment was marked as outdated.

   - Remove signal handler duplication to prevent shutdown race conditions
   - Fix telemetry cleanup method access path
   - Extract magic values to constants for better maintainability
   - Limit proof event logging to prevent huge logs
   - Refactor sequential retry to parallel for better performance
   - Fix queue status log consistency
   - Remove dead code (logLifetimeProofSummary)

   Addresses review comments from PR #4014
@swamala swamala force-pushed the improvements/telemetry-upgrades branch from adb895b to fe97c68 Compare October 29, 2025 14:50
cursor[bot]

This comment was marked as outdated.

@swamala swamala requested a review from zsculac November 5, 2025 08:40
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.

4 participants