Fix logs link params handling in tracing details
What does this MR do and why?
Quick bug fix for !158258 (merged) , where URLs params were not encoded and parsed correctly, because they were not compliant with Rails array format.
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
N/A
How to set up and validate locally
- Be logged in and running GDK with Ultimate license
- Enable
:observability_metrics
,:observability_logs
,:observability_tracing
feature flag - Apply patch to load mocks
git apply < <(curl -s https://gitlab.com/-/snippets/3725609/raw/main/mock.patch)
- Go to https://local.gitlab.com:3443/flightjs/Flight/-/tracing/5c27bfaf-9b2d-aabb-ac0b-279fae7d38c3
- Click on "View Logs"
- Confirm from the console that logs are being fetched with the selected trace-id
[DEBUG] Fetching logs with params: period=30d&trace_id=72b72def-09b3-e29f-e195-7c6db5ee599f&page_size=100