diff options
author | Sean McGivern <sean@gitlab.com> | 2019-08-06 19:05:47 +0100 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-08-06 20:42:46 +0100 |
commit | 66963aad70abba7a87512070047244eefefeb563 (patch) | |
tree | a5fe801746c6b97d1cc8c8810f06ea04f4e92944 /config | |
parent | dca9e2124c70f07eb24785f09ba3715e932c7103 (diff) | |
download | gitlab-ce-66963aad70abba7a87512070047244eefefeb563.tar.gz |
Remove GC metrics from performance bar
These were disabled in production mode, but that also broke the rest of
the performance bar. As they were only enabled in development mode, we
can just remove them for now.
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/peek.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/config/initializers/peek.rb b/config/initializers/peek.rb index b6c7f1ff4fc..f9055285e5c 100644 --- a/config/initializers/peek.rb +++ b/config/initializers/peek.rb @@ -10,9 +10,4 @@ Peek.into Peek::Views::Gitaly Peek.into Peek::Views::RedisDetailed Peek.into Peek::Views::Rugged -# `Peek::Views::GC` is currently disabled in production, as it runs with every request -# even if PerformanceBar is inactive and clears `GC::Profiler` reports we need for metrics. -# Check https://gitlab.com/gitlab-org/gitlab-ce/issues/65455 -Peek.into Peek::Views::GC if Rails.env.development? - Peek.into Peek::Views::Tracing if Labkit::Tracing.tracing_url_enabled? |