setup_grafana

Function setup_grafana 

Source
pub fn setup_grafana() -> Result<(), Box<dyn Error>>
Expand description

Sets up and starts the Grafana server.

This function starts the Grafana server and enables it to start on boot. Additional configuration (like adding data sources or creating dashboards) could be added here in the future.

ยงErrors

Returns an error if starting or enabling the Grafana service fails.