Bring back the token

This commit is contained in:
Pawel Chojnacki 2017-05-19 17:30:51 +02:00
parent 138a5577a9
commit 6726922890
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@ require 'prometheus/client/formats/text'
class MetricsController < ActionController::Base
protect_from_forgery with: :exception
include RequiresHealthToken
CHECKS = [
Gitlab::HealthChecks::DbCheck,