Skip to content

Add annotations to Grafana dashboard about deployment blockers

Dat Tang requested to merge weekly-grafana-annotate-deployment-blockers into master

What does this MR do and why?

  • Add annotations to Grafana dashboard about deployment blockers

Instead of manually adding annotations to the panel in the Grafana dashboard "delivery: Auto-Deploy packages information", the new rake task weekly (together with the weekly report) runs and add the corresponding annotations to the deployment blocker issues:

  • Use RootCause as annotation's tag
  • Link to the issue as text
  • Point-in-time annotation if there is no Deploys-blocked label
  • If there is at least one Deploys-blocked label, use the longest one and calculate from the created_at time to get the duration

Result

This is how the dashboard panel looks like after running the task (https://dashboards.gitlab.net/goto/D8sagbvIR?orgId=1):

Screenshot 2023-12-12 at 15.53.44.png

Author Check-list

Edited by Mayra Cabrera

Merge request reports