First you will need to install both grafana and influxdb and verify that you
can connect to databases created in influxdb from grafana.
In influxdb create a database that will host the test results and call it zephyr_test_results. This can be done using the command line tools for influxdb.
nashif@master:~$ influx
Connected to http://localhost:8086 version 1.8.4
InfluxDB shell version: 1.8.4
> CRATE DATABASE zephyr_test_result
In grafana, create a new data source and add the above database you have just created.
In grafana, import the dashboards available in grafana-provisioning/dashboards/ directory.
Zephyr Hardware Results Dashboard
First you will need to install both grafana and influxdb and verify that you can connect to databases created in influxdb from grafana.
In influxdb create a database that will host the test results and call it
zephyr_test_results. This can be done using the command line tools for influxdb.In grafana, create a new data source and add the above database you have just created.
In grafana, import the dashboards available in grafana-provisioning/dashboards/ directory.
Clone both repos:
into your workspace.
Change the configuration in the script import.sh and make sure the following variables reflect what you have created above:
Install junit2influx using pip:
There are 2 ways the import script can be called:
Using Docker Compose
To start the app:
To stop the app:
Grafana will be accessible on the localhost on port 3000.
Import the data using the
import.shscript.