Open kevin-vakayil opened 2 years ago
our CI/CD is GITLAB
After looking into the query we where able to find that the deployments table is not having the commit sha of failed deployment. So the the value in the d.changes is not matching
SUM(IF(i.incident_id is NULL, 0, 1)) / COUNT(DISTINCT change_id) as change_fail_rate FROM four_keys.deployments d, d.changes
the above code DAILY CHANGE FAILURE RATE uses the d.changes from deployments table.
Below are the steps we did and the place where issue is occuring is also explained
For getting the DAILY CHANGE FAILURE RATE The changes need to be there. As we are running a new pipeline the commit sha is different and the value of DAILY CHANGE FAILURE RATE is 0.0.
Our CI/CD is Gitlab Right now we are facing a issue with Daily Change Failure Rate graph in Grafana. The vaule seems to be coming in the Big query.
In the following screen shot the incidents table data from our gitlab is shown. For compaing We also added the mock data. the only diff between the mock data and our sample data is that our changes table is having 2 commits. the commits are same but it is displaying as 2 rows.
The data seems to be properly showing in the bigQuery, but it is not displaying in Grafana.
We are following the steps from the documentation but the data is not displaying(daily change failure rate) and Thanks for support for the previous issue raised.