diff options
author | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-05-19 18:30:51 +0300 |
---|---|---|
committer | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-06-02 20:45:58 +0300 |
commit | 6726922890fa0becd6e0bcd91ca5d2fa79fcccef (patch) | |
tree | d85abc793013762f6bcff707a99a20c1c730e53a /app/controllers/metrics_controller.rb | |
parent | 138a5577a9e083933c02675dfa11112693ca7a94 (diff) |
Bring back the token
Diffstat (limited to 'app/controllers/metrics_controller.rb')
-rw-r--r-- | app/controllers/metrics_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/metrics_controller.rb b/app/controllers/metrics_controller.rb index a4ba77e235f..f283aeb9db0 100644 --- a/app/controllers/metrics_controller.rb +++ b/app/controllers/metrics_controller.rb @@ -2,6 +2,7 @@ require 'prometheus/client/formats/text' class MetricsController < ActionController::Base protect_from_forgery with: :exception + include RequiresHealthToken CHECKS = [ Gitlab::HealthChecks::DbCheck, |