Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a dashboard showcasing the status of the KIT system #19

Closed
Hzaatiti opened this issue Jul 4, 2024 · 9 comments
Closed

Create a dashboard showcasing the status of the KIT system #19

Hzaatiti opened this issue Jul 4, 2024 · 9 comments
Assignees
Labels
enhancement New feature or request

Comments

@Hzaatiti
Copy link
Owner

Hzaatiti commented Jul 4, 2024

Use case: lab users will need a way to check if all the systems are working properly, or to see if there is any incident or problem

Solution: A dashboard shows the status of the system, users can access the dashboard online and read about incidents and so on.

The research scientist (me) need to put in the dashboard the status of:

  • the SQUID sensors (operational or not) we have 208 sensors
  • the marker box status that has five coils (each coil has an operational or not status)
    These statuses need to be logged with time and displayed in a nice way on the dashboard.
Copy link

github-actions bot commented Jul 4, 2024

Hi, thank you for submitting this issue, we will be discussing it and adressing it asap!

@Hzaatiti
Copy link
Owner Author

Hzaatiti commented Jul 4, 2024

@EmnaTay how about we start by making a simple dashboard in R containing a small table with columns status, system name, and have it displayed on a page in the sphinx documentation?

Image

Ideally we would have a new menu entry, called "Status and Performance Dashboard" displayed as the ones in blue in the picture above, and below it, a page called "KIT-System Status Dashboard", where we would display that simple table in R.

I am not sure how to link R to sphinx documentation, this could be good to investigate at the beginning :)

@hzaatiti-NYU hzaatiti-NYU added the enhancement New feature or request label Jul 4, 2024
@hzaatiti-NYU hzaatiti-NYU added this to the Dashboard draft is done milestone Jul 4, 2024
@EmnaTay
Copy link
Collaborator

EmnaTay commented Jul 4, 2024

Would you min if I use other tools maybe in addition to R? like Python or Power Bi ?

@hzaatiti-NYU
Copy link
Contributor

Of course, anything that seems more suitable we can go with it

@EmnaTay
Copy link
Collaborator

EmnaTay commented Jul 4, 2024

okay, thank you!

@Hzaatiti
Copy link
Owner Author

Hzaatiti commented Jul 5, 2024

It seems that to integrate PowerBI with readthedocs (the template that we are using for our current website), that we will need to generate .html embed code from PowerBi, however this feature is only available in the PRO tier, (which we can get if really needed) and not the free tier

This look not bad https://plotly.com/examples/dashboards/ :) what do you think?

@EmnaTay
Copy link
Collaborator

EmnaTay commented Jul 5, 2024

Yes i noticed that the doc's code didn't have a build folder in it so i steered away from html embed code or anything that will require the conversion to html. I will try out the plotly library that you suggested .

@hzaatiti-NYU
Copy link
Contributor

hzaatiti-NYU commented Jul 5, 2024

I started a little bit here https://meg-pipeline.readthedocs.io/en/latest/1-systems/systems-dashboard.html
So basically there is an html in here https://github.com/hzaatiti-NYU/meg-pipeline/blob/main/docs/source/_static/plotly_dashboard.html

But it is not displayed correctly yet, I added a performance dashboard tree of content (TOC) webpage

EDIT: Ok it works now, it is just a simple graph for now https://meg-pipeline.readthedocs.io/en/latest/1-systems/systems-dashboard.html
EDIT: Im trying now to automate the generation of the html using by changing the conf.py file

@EmnaTay
Copy link
Collaborator

EmnaTay commented Jul 5, 2024

What kind of changes are you making in the conf.py?

@Hzaatiti Hzaatiti closed this as completed Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants