squaredev-io / whitebox

[Not Actively Maintained] Whitebox is an open source E2E ML monitoring platform with edge capabilities that plays nicely with kubernetes
https://squaredev.io/whitebox/
MIT License
184 stars 5 forks source link

Get metrics through SDK and visualise them in Jupyter notebook #113

Open momegas opened 1 year ago

momegas commented 1 year ago

Is your feature request related to a problem? Please describe. It may be hard for some people to set up a Grafana dashboard to look at their metrics, so it makes sense that you can do this from the SDK as well and look at them in a notebook.

Describe the solution you'd like Some functions that can be run through the Jupyter notebook that get metrics from the API and visualize them in the notebook. We should be able to achieve this easily through pandas and matplotlib.

Describe alternatives you've considered An alternative way to do this is the Grafana board.

Additional context This is what it looks like in the mocks:

Screenshot 2023-01-21 at 4 13 58 PM Screenshot 2023-01-21 at 4 13 50 PM Screenshot 2023-01-21 at 4 14 16 PM

renatocmaciel commented 1 year ago

What framework will be used on #114? If you go for Dash it may be possible to use pandas and Plotly and share the charts and visualization components between Jupyter and UI Server

NickNtamp commented 1 year ago

Lets first tackle this issue (https://github.com/squaredev-io/whitebox/issues/126)

momegas commented 1 year ago

Can you open the PR please so we dont lose track of this? Also explain why this is blocked so that others can follow up?

NickNtamp commented 1 year ago

Can you open the PR please so we dont lose track of this? Also explain why this is blocked so that others can follow up?

PR could be found here: https://github.com/whitebox-ai/whitebox/pull/142 . Also, and as mentioned above, several issues have to be solved for having a smoother procedure presented in notebooks. #126 is an indicative example. For more info visit issues from 134 to 140.

momegas commented 1 year ago

I reduced the importance of this. Not so important at the moment since we have some bugs to solve before this one.