Commit graph

18 commits

Author SHA1 Message Date
Sean McGivern
a200619d14 Show Ajax requests in performance bar
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-19 19:06:09 +00:00
Sean McGivern
5bfa93e38a Make Gitaly more prominent in the performance bar
This is as important as SQL timings, and much more important most of the time
than GC, Redis, or Sidekiq.
2018-03-13 12:58:00 +00:00
Marcia Ramos
c234913e22 Docs: add indexes for monitoring and performance monitoring 2017-12-14 18:24:42 +00:00
Rémy Coutable
d7942f223c Allow to disable the Performance Bar and document the p b shortcut in its doc page
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-10-30 16:13:15 +01:00
ernstvn
64820341e0 Clarify documentation about performance bar 2017-09-06 09:42:34 -07:00
Rémy Coutable
acc0d84845 Moves the Performance Bar to the top instead of being at the bottom 2017-07-31 08:07:51 +00:00
Rémy Coutable
97611c88fc
Don't use Flipper for the Performance Bar
The implementation now simply rely on the
`performance_bar_allowed_group_id` Application Setting.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-07 02:34:51 +02:00
Rémy Coutable
040eeb1039
Allow to enable the Performance Bar for a group from the admin area
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-06 18:57:02 +02:00
Rémy Coutable
e5a7d1da8c Improve Features API and its docs and add a Changelog item
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-06 11:18:26 +02:00
Rémy Coutable
75bd0c3a44 Document the Performance Bar
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-06 11:18:26 +02:00
Achilleas Pipinellis
1498786e4a Move prometheus docs into their own dir
[ci skip]
2017-02-08 11:38:58 +01:00
Marcello
184ba52f12 correct the prometheus feature configuration according to https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/files/gitlab-config-template/gitlab.rb.template#L1147 2017-01-22 19:02:52 +00:00
Achilleas Pipinellis
43f0fd1f09 Add information on the dashboard and exporter ports
[ci skip]
2017-01-22 15:34:09 +01:00
Achilleas Pipinellis
73375c18cd Expose Prometheus docs to the main README
[ci skip]
2017-01-22 14:14:46 +01:00
Achilleas Pipinellis
243b18c7ed Add Prometheus docs
Replaces https://gitlab.com/gitlab-org/omnibus-gitlab/merge_requests/1237
Omnibus MR: https://gitlab.com/gitlab-org/omnibus-gitlab/merge_requests/1227
Omnibus issue: https://gitlab.com/gitlab-org/omnibus-gitlab/issues/1481
2017-01-22 14:00:28 +01:00
Achilleas Pipinellis
af1dabe805 Reduce size of images from 25MB to 13MB using pngquant
Took it from https://gitlab.com/gitlab-com/www-gitlab-com/merge_requests/3232

[ci skip]
2016-11-22 19:53:43 +01:00
Ahmad Sherif
c180221a5b Add docs for request profiling
Closes #23239
2016-10-14 20:18:23 +02:00
Achilleas Pipinellis
6207dc9037 Move monitoring/ to new location 2016-09-25 12:16:50 +02:00