mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-14 17:44:06 -08:00
e34563bfe0
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> |
||
---|---|---|
.. | ||
api | ||
ui | ||
federate.go | ||
federate_test.go | ||
web.go | ||
web_test.go |