gitlab-org--gitlab-foss/lib
Aleksei Lipniagov 1f9edb7c4a Call GC::Profiler.clear only in one place
Previously, both InfluxSampler and RubySampler were relying on the
`GC::Profiler.total_time` data which is the sum over the list
of captured GC events. Also, both samplers asynchronously called
`GC::Profiler.clear` which led to incorrect metric data because
each sampler has the wrong assumption it is the only object who calls
`GC::Profiler.clear` and thus could rely on the gathered results between
such calls.

We should ensure that `GC::Profiler.total_time` is called only in one
place making it possible to rely on accumulated data between such wipes.

Also, we need to track the amount of profiler reports we lost.
2019-08-02 09:04:32 +00:00
..
api Use NotesFinder in IssuableActions module 2019-08-01 10:42:42 +02:00
assets
backup Remove dead MySQL code 2019-07-23 16:53:03 +01:00
banzai Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq 2019-07-29 13:19:50 -05:00
bitbucket
bitbucket_server Fix typos in the whole gitlab-ce project 2019-05-20 14:11:44 +00:00
constraints
container_registry Explicitly reject non http(s) schemes 2019-07-29 19:20:30 -03:00
declarative_policy
feature Remove catfile cache feature flag 2019-07-15 11:32:56 -07:00
flowdock
generators/rails/post_deployment_migration
gitaly
gitlab Call GC::Profiler.clear only in one place 2019-08-02 09:04:32 +00:00
google_api
json_web_token Set typ field in JSONWebToken::RSAToken 2018-12-29 07:37:08 -08:00
mattermost Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
microsoft_teams Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
object_storage
omni_auth/strategies
peek/views Fix SystemStackError when Peek bar is active with Rugged calls 2019-07-31 15:47:19 -07:00
prometheus Fix pid discovery for Unicorn in PidProvider 2019-07-26 15:02:21 +00:00
quality Resolves confusion within spec rake tasks 2019-07-23 18:34:50 -06:00
rouge
rspec_flaky Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
safe_zip
sentry
serializers Remove dead MySQL code 2019-07-23 16:53:03 +01:00
support Fix incorrect web server parameter in init.d script 2019-07-24 08:48:49 +00:00
system_check
tasks Fix broken update_project_templates rake task 2019-07-30 13:52:28 +00:00
after_commit_queue.rb
backup.rb
banzai.rb
carrier_wave_string_file.rb
declarative_policy.rb
event_filter.rb
expand_variables.rb
extracts_path.rb
feature.rb Add new Feature.remove method 2019-08-01 08:29:14 +10:00
file_size_validator.rb
forever.rb Remove dead MySQL code 2019-07-23 16:53:03 +01:00
gitlab.rb Backport EE changes made to the scripts/ directory 2019-07-29 13:53:20 +02:00
gt_one_coercion.rb Enable more frozen string in lib/**/*.rb 2018-10-06 17:02:50 -07:00
milestone_array.rb
static_model.rb
system_check.rb
uploaded_file.rb
version_check.rb