Solutions
Visualizing Litmus Edge Manager Prometheus Metrics with Grafana
11min
overview how to prepare litmus edge manager to act as prometheus endpoint this section will provide instructions on how to prepare a litmus edge manager to act as prometheus endpoint requirements a litmus edge manager is setup guide to prepare litmus edge manager as prometheus endpoint the guide on how to prepare litmus edge manager to act as prometheus endpoint can be viewed in the litmus edge manager prometheus documentation note for this guide only step 1 and step 2 are required followed by saving the change how to connect grafana to the litmus edge manager prometheus endpoint this section will provide instructions on how to connect grafana to the litmus edge manager prometheus endpoint requirements a deployment of grafana is available note this does include also grafana cloud and grafana enterprise how to deploy grafana is covered by the grafana documentation note litmus edge manager also offers a litmus provided grafana deployment which can be accessed from within a project step by step guide to connect grafana to litmus edge manager prometheus endpoint this guide will provide instructions on how to connect grafana with your litmus edge manager prometheus endpoint this guide will not provide instructions on all the statistic values available through the prometheus endpoint this guide will also not provide instructions on how to create dashboards apart from a generalized guide on how to add a value to a dashboard step 1 log on to your grafana instance step 2 go to configuration >datasources step 3 press the add data source button to add a new data source step 4 select prometheus as the data source type step 5 copy the url from your litmus edge manager web ui found under integration > prometheus step 6 paste the in step 5 copied url into the url field for the grafana prometheus data source step 7 scroll to the end of the form and press the save & test button to validate the connection and save it the data source is now available to be used in any dashboard short guide on how to add a prometheus metric to a grafana dashboard this guide will show trough one example how to add a prometheus metric to a dashboard note this guide is not a deep dive on how to create compelling prometheus dashboards requirements a prometheus data source has been added to grafana step 1 add a new dashboard step 2 add a new panel step 3 select the prometheus data source from the drop down step 4 expand the metrics browser step 5 select the metric you would like to visualize example node cpu system (cpu load used by system processes) step 6 press the use query button the data are visualized step 7 save the dashboard using the save button the dashboard includes the new panel