Bring back the token
This commit is contained in:
parent
138a5577a9
commit
6726922890
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@ require 'prometheus/client/formats/text'
|
|||
|
||||
class MetricsController < ActionController::Base
|
||||
protect_from_forgery with: :exception
|
||||
include RequiresHealthToken
|
||||
|
||||
CHECKS = [
|
||||
Gitlab::HealthChecks::DbCheck,
|
||||
|
|
Loading…
Reference in a new issue