Add usage ping for Auto DevOps

Fixes gitlab-org/gitlab-ce#37648
This commit is contained in:
Zeger-Jan van de Weg 2017-09-08 19:38:02 +02:00
parent dc46863cda
commit 5c6f40ab6e
No known key found for this signature in database
GPG Key ID: 65F6A8D64A88ABAC
3 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
title: Add usage data for Auto DevOps
merge_request:
author:
type: other

View File

@ -22,6 +22,8 @@ module Gitlab
ci_builds: ::Ci::Build.count,
ci_internal_pipelines: ::Ci::Pipeline.internal.count,
ci_external_pipelines: ::Ci::Pipeline.external.count,
ci_pipeline_config_auto_devops: ::Ci::Pipeline.auto_devops_source.count,
ci_pipeline_config_repository: ::Ci::Pipeline.repository_source.count,
ci_runners: ::Ci::Runner.count,
ci_triggers: ::Ci::Trigger.count,
ci_pipeline_schedules: ::Ci::PipelineSchedule.count,

View File

@ -40,6 +40,8 @@ describe Gitlab::UsageData do
ci_builds
ci_internal_pipelines
ci_external_pipelines
ci_pipeline_config_auto_devops
ci_pipeline_config_repository
ci_runners
ci_triggers
ci_pipeline_schedules