Fix activity metric name that need to be symbols
This commit is contained in:
parent
01cac53d71
commit
0da5c588b1
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue