Fix activity metric name that need to be symbols

This commit is contained in:
Grzegorz Bizon 2018-07-24 08:20:48 +00:00
parent 01cac53d71
commit 0da5c588b1
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ module Gitlab
each_counter do |counter, metric, description| each_counter do |counter, metric, description|
define_singleton_method(counter) do define_singleton_method(counter) do
strong_memoize(counter) do strong_memoize(counter) do
Gitlab::Metrics.counter("gitlab_auth_#{metric}_total", description) Gitlab::Metrics.counter("gitlab_auth_#{metric}_total".to_sym, description)
end end
end end