Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Hegyi <ahegyi@gitlab.com>2019-09-12 14:12:29 +0300
committerPeter Leitzen <pleitzen@gitlab.com>2019-09-12 14:12:29 +0300
commitff7c992ebd03b8f81525fa074e465badcae682f2 (patch)
tree9bdf0a2f958e704edde148fb1bdfcb3d0e1f76d6 /spec/lib/gitlab/usage_data_spec.rb
parentc2e46802626d44d383c1a4aec344d01602b9e9ea (diff)
Setup counter for Productivity Analytics
This change sets up a usage counter for productivity analytics feature.
Diffstat (limited to 'spec/lib/gitlab/usage_data_spec.rb')
-rw-r--r--spec/lib/gitlab/usage_data_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/lib/gitlab/usage_data_spec.rb b/spec/lib/gitlab/usage_data_spec.rb
index b3a179e276b..8eb64b97d6a 100644
--- a/spec/lib/gitlab/usage_data_spec.rb
+++ b/spec/lib/gitlab/usage_data_spec.rb
@@ -62,6 +62,7 @@ describe Gitlab::UsageData do
influxdb_metrics_enabled
prometheus_metrics_enabled
cycle_analytics_views
+ productivity_analytics_views
))
expect(subject).to include(
@@ -79,6 +80,7 @@ describe Gitlab::UsageData do
web_ide_merge_requests: a_kind_of(Integer),
navbar_searches: a_kind_of(Integer),
cycle_analytics_views: a_kind_of(Integer),
+ productivity_analytics_views: a_kind_of(Integer),
source_code_pushes: a_kind_of(Integer)
)
end