Commit 0da5c588 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix activity metric name that need to be symbols

parent 01cac53d
......@@ -63,7 +63,7 @@ module Gitlab
each_counter do |counter, metric, description|
define_singleton_method(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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment