summaryrefslogtreecommitdiff
path: root/lib/peek
Commit message (Collapse)AuthorAgeFilesLines
* Show Ajax requests in performance barSean McGivern2018-03-191-0/+9
| | | | | | | | | | | | | | | | | But first, rewrite the performance bar in Vue: 1. Remove the peek-host gem and replace it with existing code. This also allows us to include the host in the JSON response, rather than in the page HTML. 2. Leave the line profiler parts as here-be-dragons: nicer would be a separate endpoint for these, so we could use them on Ajax requests too. 3. The performance bar is too fiddly to rewrite right now, so apply the same logic to that. Then, add features! All requests made through Axios are able to be tracked. To keep a lid on memory usage, only the first two requests for a given URL are tracked, though. Each request that's tracked has the same data as the initial page load, with the exception of the performance bar and the line profiler, as explained above.
* Capture Gitaly calls that don't go through `migrate`Sean McGivern2018-03-131-3/+4
|
* Add Gitaly call details to the performance barSean McGivern2018-03-131-1/+18
| | | | | The same as the SQL queries, show the details of Gitaly calls in the performance bar, as a modal that can be opened in the same way.
* Add Gitaly data to the Peek performance barZeger-Jan van de Weg2017-10-231-0/+34
|
* Improve & fix the performance bar UI and behaviorRémy Coutable2017-07-061-3/+29
|
* DRYed peek-pg/mysql2 views and update peek-rblineprof monkey-patch file29010-perf-barRémy Coutable2017-06-091-21/+14
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fix Rubocop offenses, improve SQL duration format and changelog entryRémy Coutable2017-06-091-9/+21
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fix replacement of Pygments with RougeRémy Coutable2017-06-091-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Don't use Pygment,rb, use Rouge instead, and put peek-pg in the :postgres groupRémy Coutable2017-06-091-0/+91
Signed-off-by: Rémy Coutable <remy@rymai.me>