Fix inconsistency in Redis performance bar stats
peek-redis resets its counters at the start of an ActionController notification (`start_processing.action_controller`), which causes it to miss some Redis queries that precede it, such as the database load balancer and Rack Attack queries. This produces inconsistencies in the performance bar between the number of calls and their durations with the actual calls in the detailed view. We fix this by getting rid of peek-redis in favor of consolidating all logic into the `RedisDetailed` view, which tracks Redis queries using `RequestStore`. This has the nice property of removing thread-specific counters as well. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64707
Showing
... | @@ -299,7 +299,6 @@ gem 'peek-gc', '~> 0.0.2' | ... | @@ -299,7 +299,6 @@ gem 'peek-gc', '~> 0.0.2' |
gem 'peek-mysql2', '~> 1.2.0', group: :mysql | gem 'peek-mysql2', '~> 1.2.0', group: :mysql | ||
gem 'peek-pg', '~> 1.3.0', group: :postgres | gem 'peek-pg', '~> 1.3.0', group: :postgres | ||
gem 'peek-rblineprof', '~> 0.2.0' | gem 'peek-rblineprof', '~> 0.2.0' | ||
gem 'peek-redis', '~> 1.2.0' | |||
# Memory benchmarks | # Memory benchmarks | ||
gem 'derailed_benchmarks', require: false | gem 'derailed_benchmarks', require: false | ||
... | ... |
Please register or sign in to comment