diff options
author | Adam Hegyi <ahegyi@gitlab.com> | 2019-09-12 11:12:29 +0000 |
---|---|---|
committer | Peter Leitzen <pleitzen@gitlab.com> | 2019-09-12 11:12:29 +0000 |
commit | ff7c992ebd03b8f81525fa074e465badcae682f2 (patch) | |
tree | 9bdf0a2f958e704edde148fb1bdfcb3d0e1f76d6 /lib/gitlab/usage_data_counters/productivity_analytics_counter.rb | |
parent | c2e46802626d44d383c1a4aec344d01602b9e9ea (diff) | |
download | gitlab-ce-ff7c992ebd03b8f81525fa074e465badcae682f2.tar.gz |
Setup counter for Productivity Analytics
This change sets up a usage counter for productivity analytics feature.
Diffstat (limited to 'lib/gitlab/usage_data_counters/productivity_analytics_counter.rb')
-rw-r--r-- | lib/gitlab/usage_data_counters/productivity_analytics_counter.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/gitlab/usage_data_counters/productivity_analytics_counter.rb b/lib/gitlab/usage_data_counters/productivity_analytics_counter.rb new file mode 100644 index 00000000000..3b92fa01fbe --- /dev/null +++ b/lib/gitlab/usage_data_counters/productivity_analytics_counter.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +module Gitlab::UsageDataCounters + class ProductivityAnalyticsCounter < BaseCounter + KNOWN_EVENTS = %w[views].freeze + PREFIX = 'productivity_analytics' + end +end |