Add related traces widget to metrics details view
What does this MR do and why?
Add related traces widget to metrics details view for Create RelatedTraces widget (gitlab-org/opstrace/opstrace#2943 - closed).
Feature timeline:
- Extract data from metrics charts to feed into t... (!164853 - merged)
- Clicking on a metrics chart data point now reveals related traces.
👈 YOU ARE HERE - Improve metrics charts symbols (#483071 - moved).
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
Recording
Screen_Recording_2024-09-09_at_12.08.37
Default behaviour
No visual change except for line chart margin update.
Clicked on data point
How to set up and validate locally
- You need a GitLab Ultimate license.
- Enable the
:observability_features
feature flag enabled. - Apply patch to load local mocks
git apply < <(curl -s https://gitlab.com/gitlab-org/opstrace/opstrace/-/snippets/3744171/raw/main/mock.patch)
- View the metrics list page at Projects > Monitor > Metrics.
- View the metrics details page with line chart by selecting a "Sum" metric.
- View the metrics details page with histogram by selecting a "Histogram" metric.
- Click on data points to view the new related traces widget.
Edited by Jiaan Louw