diff options
-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, |