cube-js/cube

Ability to monitor the websocket status & last message

Aberta

#4.015 aberto em 1 de fev. de 2022

 (2 comentários) (0 reação) (0 responsável)Rust (1.965 forks)batch import
help wanted

Métricas do repositório

Stars
 (19.563 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

Context: https://cube-js.slack.com/archives/CC0403RRR/p1642620249094800

When using the real-time websocket, there is no error handling available when the socket disconnects after the visual has been rendered. While the socket is disconnected, no new messages are published so rendered views will become stale without any error or update. Would like the ability to access the socket state (connected/connecting/error) as well as the last message to either handle errors in each visual, or render a general status component to show the health of the data on the screen.

Guia do colaborador