Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/peek
AgeCommit message (Collapse)Author
2019-04-18Migrate correlation and tracing code to LabKitAndrew Newdigate
This change is a fairly straightforward refactor to extract the tracing and correlation-id code from the gitlab rails codebase into the new LabKit-Ruby project. The corresponding import into LabKit-Ruby was in https://gitlab.com/gitlab-org/labkit-ruby/merge_requests/1 The code itself remains very similar for now. Extracting it allows us to reuse it in other projects, such as Gitaly-Ruby. This will give us the advantages of correlation-ids and distributed tracing in that project too.
2019-02-08Provide a performance bar link to the Jaeger UIAndrew Newdigate
Jaeger is a distributed tracing tool. This change adds a "Tracing" link to the performance bar to directly link to a current request in Jaeger. This is useful for two reasons: 1 - it provides affordance to developers that the distributed tracing tool is available, so that it can quickly be discovered. 2 - it allows developers to quickly find a specific trace without having to manually navigate to a second user-interface.
2018-11-20Fix bug where ID is not setZeger-Jan van de Weg
On HEAD~ we remove the ID from the class, which created a bug. Given we don't need the ID anymore, it has been removed and simplified.
2018-10-15Merge branch '52421-show-canary-no-canary-in-the-performance-bar' into 'master'Sean McGivern
Resolve "Show canary / no-canary in the performance bar" Closes #52421 See merge request gitlab-org/gitlab-ce!22222
2018-10-12Show if the host is a canary host in the perf barSean McGivern
If the request came from a canary host, show this in the performance bar by: 1. Adding a bird emoji. 2. Colouring the hostname yellow.
2018-10-08Enable even more frozen string in lib/**/*.rbgfyoung
Enables frozen string for the following files: * lib/generators/**/*.rb * lib/gitaly/**/*.rb * lib/google_api/**/*.rb * lib/haml_lint/**/*.rb * lib/json_web_token/**/*.rb * lib/mattermost/**/*.rb * lib/microsoft_teams/**/*.rb * lib/object_storage/**/*.rb * lib/omni_auth/**/*.rb * lib/peek/**/*.rb * lib/rouge/**/*.rb * lib/rspec_flaky/**/*.rb * lib/system_check/**/*.rb Partially addresses #47424.
2018-06-14Resolve "Performance bar Gitaly modal is hard to read"Annabel Gray
2018-05-30Fix UI broken in line profiling modal due to Bootstrap 4Takuya Noguchi
2018-03-19Show Ajax requests in performance barSean McGivern
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.
2018-03-13Capture Gitaly calls that don't go through `migrate`Sean McGivern
2018-03-13Add Gitaly call details to the performance barSean McGivern
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.
2017-10-23Add Gitaly data to the Peek performance barZeger-Jan van de Weg
2017-07-06Improve & fix the performance bar UI and behaviorRémy Coutable
2017-06-09DRYed peek-pg/mysql2 views and update peek-rblineprof monkey-patch fileRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-06-09Fix Rubocop offenses, improve SQL duration format and changelog entryRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-06-09Fix replacement of Pygments with RougeRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-06-09Don't use Pygment,rb, use Rouge instead, and put peek-pg in the :postgres groupRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>