Add issue prefilling support for o11y tracing
What does this MR do and why?
Add issue prefilling support for o11y tracing
- Add support for accepting
observability_trace_detailsparams ( these will be automatically generated by the UI gitlab-org/opstrace/opstrace#2895 (closed)) - Add
TracingIssuesHelperto handle tracing related issues prefilling - Add specs
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
Close Automatically fill issue title and description ... (gitlab-org/opstrace/opstrace#2893 - 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_featuresfeature flag. - Apply patch to load local mocks
git apply < <(curl -s https://gitlab.com/-/snippets/3725609/raw/main/mock.patch) - Create a new issue within a project with
observability_trace_detailsparams, e.g.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
Edited by Daniele Rossetti
