summaryrefslogtreecommitdiff
path: root/lib/gitlab/usage_data.rb
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2017-09-12 12:33:48 +0200
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2017-09-12 12:33:48 +0200
commit74bf291c78538641bb871adf8d998bdf0f8e2508 (patch)
treeb78727d98004cb5a9e958591eca25f6aabc973a1 /lib/gitlab/usage_data.rb
parent5c6f40ab6e825e8d31e3bfc362e9bcce80a14dba (diff)
downloadgitlab-ce-74bf291c78538641bb871adf8d998bdf0f8e2508.tar.gz
Add auto devops enabled/disabled to usage ping
Diffstat (limited to 'lib/gitlab/usage_data.rb')
-rw-r--r--lib/gitlab/usage_data.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/usage_data.rb b/lib/gitlab/usage_data.rb
index 47b0be5835f..36708078136 100644
--- a/lib/gitlab/usage_data.rb
+++ b/lib/gitlab/usage_data.rb
@@ -27,6 +27,8 @@ module Gitlab
ci_runners: ::Ci::Runner.count,
ci_triggers: ::Ci::Trigger.count,
ci_pipeline_schedules: ::Ci::PipelineSchedule.count,
+ auto_devops_enabled: ::ProjectAutoDevops.enabled.count,
+ auto_devops_disabled: ::ProjectAutoDevops.disabled.count,
deploy_keys: DeployKey.count,
deployments: Deployment.count,
environments: ::Environment.count,