jupyter-resource-usage icon indicating copy to clipboard operation
jupyter-resource-usage copied to clipboard

Switch to EventSource

Open yuvipanda opened this issue 6 years ago • 1 comments

Switch to using EventSource

  • One request per user, with automatic reconnects! Much better than getting request logs be flodded by calls to /metrics
  • Doesn't overlap with the prometheus endpoint at /metrics anymore

TODO:

  • [ ] Add a polyfill so this works on IE / Edge

Add plugin mechanism

  • Plugins can provide arbitrary resources that are sent to the client on the same EventSource.
  • Default rss metric is provided this way

yuvipanda avatar Jun 15 '19 04:06 yuvipanda

Would be nice to resurrect this.

yuvipanda avatar Dec 03 '20 17:12 yuvipanda

And the universe keeps spinning

yuvipanda avatar Jan 10 '23 23:01 yuvipanda