prometheus/web/api
Julien e34563bfe0 Retry SSE connection unless max clients have been reached.
This switches from the prehistoric EventSource API to the more modern
fetch-event-source package. That packages gives us full control over the
retries.

It also gives us the opportunity to close the event source when the
browser tab is hidden, saving resources.

Signed-off-by: Julien <roidelapluie@o11y.eu>
2024-09-27 16:18:33 +02:00
..
v1 Retry SSE connection unless max clients have been reached. 2024-09-27 16:18:33 +02:00
notifications.go Limit the number of SSE Subscribers to 16 by default 2024-09-27 15:51:51 +02:00
notifications_test.go Limit the number of SSE Subscribers to 16 by default 2024-09-27 15:51:51 +02:00