Visualisation User Guide

Once broker component is up and running, and it is verified that data is getting pushed to InfluxDB, it can be visualised using Grafana. Following are the steps to create Grafana dashboard:

  1. Go to http://[Host public IP address]:3000 and sign in using the appropriate credentials (Grafana has the following default credentials: admin, admin).
  2. Create data sources for each of the database. Set the value of data source name, database and URL to "http://[Host public IP address]:8086". Click on "Save & Test".
  3. In order to create dashboard, click on '+' sign on the left side bar. Select "Import" and paste the content of JSON file from sample dashboards folder for the dashboard that needs to be created. In sample dashboards, TFA dashboards JSON files have been provided for reference. User can also create custom dashboard or modify sample ones. For details on creating dashboard, please refer Grafana Labs.

Following table captures the details of datasource for the dashboards provided in sample dashboards folder:

S. No.Data Source NameDatabase
1TFA_CodeChurnTFA_CodeChurn
2TFA_ComplexityTFA_Complexity
3TFA_DefectsTFA_Defects
4TFA_ImageSizeTFA_ImageSize
5TFA_MisraDefectsTFA_MisraDefects
6TFA_RunTime_PerfTFA_RTINSTR

Please note that URL remains same for all the data sources, i.e., http://[Host public IP address]:8086