casperlundberg / dynamic-monitoring-system

1 stars 0 forks source link

Create a generic Panel class instead generating code for multiple ones #27

Open casperlundberg opened 1 week ago

casperlundberg commented 1 week ago

The current idea of generating multiple panels, each being similar but modifiable is not efficient and not needed.

Create a panel class that given some input like a name, when will work because it can be populated with the data from the interfaces (RequestHelper)

The constructor for the generated client still needs to be available, easiest way is to construct via exec and then use it to create RequestHelper to get the http response (the body and/or metrics have the data to plot)

casperlundberg commented 1 week ago

Solved but still uses python exec() which is nor recommended for safety reasons