- 27 Apr, 2016 1 commit
-
-
Stan Hu authored
These changes were pulled from GitLab EE to support configuring an alternative API URL than the default https://api.github.com. In addition, the `verify_ssl` flag allows users to disable SSL cert checking. One modification: add a default `args` option if it does not exist to avoid breaking existing configurations.
-
- 20 Apr, 2016 2 commits
-
-
Yorick Peterse authored
Merely setting the "action" tag will only result in the transaction itself containing a value for this tag. To ensure other metrics also contain this tag we must set the action using Transaction#action= instead.
-
Sebastian Klier authored
-
- 19 Apr, 2016 2 commits
-
-
Gabriel Mazetto authored
-
Gabriel Mazetto authored
Code is based on Project Webhooks, removing deprecations and without commits listing.
-
- 18 Apr, 2016 7 commits
-
-
Douglas Barbosa Alexandre authored
-
Douglas Barbosa Alexandre authored
-
Douglas Barbosa Alexandre authored
-
Douglas Barbosa Alexandre authored
-
Douglas Barbosa Alexandre authored
With these changes we don’t lost the issue/pr references when importing them to GitLab.
-
Yorick Peterse authored
Fixes gitlab-org/gitlab-ce#15335
-
Yorick Peterse authored
By using Module#prepend we can define a Module containing all proxy methods. This removes the need for setting up crazy method alias chains and in turn prevents us from having to deal with all that madness (e.g. methods calling each other recursively). Fixes gitlab-org/gitlab-ce#15281
-
- 13 Apr, 2016 2 commits
-
-
Rémy Coutable authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-
Yorick Peterse authored
One use case for this is manually setting the "action" tag for Grape API calls. Due to Grape running blocks there are no human readable method names that can be used for the "action" tag, thus we have to set these manually on a case by case basis.
-
- 11 Apr, 2016 6 commits
-
-
Kamil Trzcinski authored
-
Patricio Cano authored
-
Yorick Peterse authored
If the measure method uses Transaction.current directly the SQL subscriber (Subscribers::ActiveRecord) will add timings of queries triggered by DB cleaner.
-
Yorick Peterse authored
-
Yorick Peterse authored
-
Yorick Peterse authored
This makes it easier to query, simplifies the code, and makes it possible to figure out what transaction the data belongs to (simply because it's now stored _in_ the transaction). This new setup keeps track of both the real/wall time _and_ CPU time spent in a block, both measured using milliseconds (to keep all units the same).
-
- 08 Apr, 2016 1 commit
-
-
Yorick Peterse authored
This allows us to track how much time of a transaction is spent in dealing with cached data.
-
- 07 Apr, 2016 1 commit
-
-
Jacob Schatz authored
-
- 06 Apr, 2016 6 commits
-
-
Patricio Cano authored
-
Patricio Cano authored
Fix error that was causing only one group to be returned and corrected specs to use the proper attribute type
-
Grzegorz Bizon authored
-
Yorick Peterse authored
This allows measuring of timings of arbitrary Ruby blocks, this allows for more fine grained performance monitoring. Custom values and tags can also be attached to a block.
-
Yorick Peterse authored
-
Patricio Cano authored
-
- 05 Apr, 2016 2 commits
-
-
Gabriel Mazetto authored
-
Patricio Cano authored
-
- 01 Apr, 2016 1 commit
-
-
Yorick Peterse authored
Rails' "url_helpers" method creates an anonymous Module (which a bunch of methods) on every call. By caching the output of this method in a dedicated method we can shave off about 10 seconds of loading time for an issue with around 200 comments.
-
- 31 Mar, 2016 3 commits
-
-
Grzegorz Bizon authored
-
Grzegorz Bizon authored
-
James Lopez authored
-
- 30 Mar, 2016 5 commits
-
-
James Lopez authored
-
Grzegorz Bizon authored
-
Grzegorz Bizon authored
-
Grzegorz Bizon authored
This attempts to get CarrierWave's uploader - `FileUploader` into test harness using a factory. that makes it easier to build an instance of it. Along with !3435 it may be easier to use uploaders in tests
-
Grzegorz Bizon authored
-
- 29 Mar, 2016 1 commit
-
-
Grzegorz Bizon authored
-