odigos-io / odigos

Distributed tracing without code changes. 🚀 Instantly monitor any application using OpenTelemetry and eBPF
https://odigos.io
Apache License 2.0
3.19k stars 194 forks source link

[TASK-968] chore: odigos UI stuck #1301

Closed alonkeyval closed 3 months ago

alonkeyval commented 3 months ago

This PR enhances the useSSE hook to include robust reconnection logic with exponential backoff, a maximum retry limit, and user notifications for connection failures. These improvements ensure that the application can gracefully handle connection issues with the server and provide feedback to the user if the connection cannot be re-established.