Add Create Issue button to tracing
What does this MR do and why?
Add create issue button to tracing header
- Pass new issue path to tracing view model
- Add Create Issue button to tracing header
- Build and inject
observability_trace_details
into URL param ( to be later used to autofill issue description gitlab-org/opstrace/opstrace#2893 (closed) )
Sample URL:
http://gdk.test:3443/flightjs/Flight/-/issues/new?observability_trace_details=%7B%22fullUrl%22%3A%22http%3A%2F%2Fgdk.test%3A3443%2Fflightjs%2FFlight%2F-%2Ftracing%2Fcd4cfff9-295b-f014-595c-1be1fc145822%22%2C%22name%22%3A%22frontend-proxy%20%3A%20ingress%22%2C%22traceId%22%3A%228335ed4c-c943-aeaa-7851-2b9af6c5d3b8%22%2C%22start%22%3A%22Thu%2C%2004%20Jul%202024%2014%3A44%3A21%20GMT%22%2C%22duration%22%3A%222.27ms%22%2C%22totalSpans%22%3A3%2C%22totalErrors%22%3A0%7D
Relates to Add create issue button to traces page (gitlab-org/opstrace/opstrace#2895 - 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
How to set up and validate locally
-
You need a GitLab Ultimate license.
-
Enable the
:observability_features
feature flag. -
Apply patch to load local mocks
git apply < <(curl -s https://gitlab.com/-/snippets/3725609/raw/main/mock.patch)
-
Go to http://gdk.test:3443/flightjs/Flight/-/tracing/cd4cfff9-295b-f014-595c-1be1fc145822
Edited by Daniele Rossetti