Support for profiling POST requests in the performance bar
In &7290 (comment 828760836) it is shown that it is not easy to profile a POST request with the performance bar, you have to manually add parameters to the request.
As of right now, clicking one of the flamegraph buttons in the performance bar will profile the current page (the first request), unrelated to what request is selected in the dropdown.
We would like to be able to generate a flamegraph for other requests as well. That way we can also easily profile POST requests and other requests that might be slow (e.g. loading diffs, issues in a board, etc).
For POST requests we will have to also capture the data for it to work properly
The backend actually works with POST requests but currently our client-side AJAX request interceptor only captures the URLs. So we can't recreate the POST request and add the
performance_bar=flamegraph
param.