diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-06 18:10:05 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-06 18:10:05 +0300 |
commit | 07e0fae35c51cff088d6b2cbc6d844f421e16617 (patch) | |
tree | d0da7fe202abac1b1919673d1b40bb4597da8dac /lib/peek | |
parent | 14b5bf2629cf6cd77fe9bb6108d4a6dc0963f6c1 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/peek')
-rw-r--r-- | lib/peek/views/active_record.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/peek/views/active_record.rb b/lib/peek/views/active_record.rb index 6d2c9a86c62..a3fe206c86f 100644 --- a/lib/peek/views/active_record.rb +++ b/lib/peek/views/active_record.rb @@ -81,7 +81,7 @@ module Peek end def format_call_details(call) - if Feature.enabled?(:multiple_database_metrics, default_enabled: :yaml) + if ENV['GITLAB_MULTIPLE_DATABASE_METRICS'] super else super.except(:db_config_name) |