The quality-metrics implements a set of components that enable project teams to generate and track code quality metrics for data driven quality improvement. It comprises of:
Additional documentation is also provided that outlines how a user can visualise InfluxDB data using Grafana.
Please refer to design overview for design details for the broker component and the data generator scripts.
Broker component user guide contains details of how to bring up the broker component that implements APIs (Application Programming Interface) for data generator clients. The data generator clients POST metrics data, which in-turn gets committed to the backend database. It performs a set of basic sanity check before commiting any metrics data and provides simple token-based authentication for clients.
Please refer to data generator user guide for details on how metrics data is generated. These data generator scripts are typically integrated with individual projects CI (Continuous Integration) setup.
Visualisation user guide contains details on visualising the InfluxDB data using Grafana.