Skip to content

fix(sg): restrict grafana link to only render on main

Warren Gifford requested to merge wb/ci/annotations/papercuts into main

Created by: burmudar

This fixes two slight issues with the grafana link generation

  1. only render it when we're on the main branch, otherwise it is pointless since logs don't get uploaded on other branches
  2. Add inline comments to the LogQL query and add a regex - Thanks @bobheadxi !
image

Test plan

Tested on main-dry-run and allowing all branches

Merge request reports

Loading