Skip to content

RelatedTraces component should show different icon for empty traces

Daniele Rossetti requested to merge drosse/fix-related-traces-icons into master

What does this MR do and why?

Updating the related traces component to show a different icon when there are not traces linked. This matches the look of the chart.

As on the charts we use a simple bullet point when there are is no traces data, the closes I could find to use with GlIcon is https://gitlab-org.gitlab.io/gitlab-svgs/?q=~severity-low

Related to Use different icons in related traces widget wh... (gitlab-org/opstrace/opstrace#2962 - closed)

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

Screenshot_2024-10-07_at_11.55.29

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 --silent "https://gitlab.com/gitlab-org/opstrace/opstrace/-/snippets/3747939/raw/main/mock.patch")
  4. View the metrics list page at Projects > Monitor > Metrics. /assign me

Merge request reports

Loading