Skip to content

Add related issues widget to trace details

Jiaan Louw requested to merge 2905/opstrace/tracing-related-issues into master

What does this MR do and why?

Adds the related issues widget to the tracing details view for Add Related Issues widget to Tracing details (gitlab-org/opstrace/opstrace#2905 - closed).

The widget lists issues related to the specific trace that were created with the Create issue button on the tracing details page.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  1. You need a GitLab Ultimate license.
  2. Enable the :observability_features feature flag.
  3. Apply patch to load local mocks git apply < <(curl -s https://gitlab.com/-/snippets/3725609/raw/main/mock.patch)
    • Note: Mock returns the wrong traceId so the related issues list is empty on other traces. We're discussing a fix on slack (internal link).
  4. Apply the WIP backend as a patch curl https://gitlab.com/gitlab-org/gitlab/-/merge_requests/163507.diff | git apply
  5. Navigate to [GDK_HOST]/flightjs/Flight/-/tracing/8335ed4c-c943-aeaa-7851-2b9af6c5d3b8
  6. Click on the Create issue button to create a related issue.
  7. Navigate back the trace details view and confirm the related issues widget shows the newly created issue.
Edited by Jiaan Louw

Merge request reports