Commit fc942cd2 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'release_usage_metrics' into 'master'

Adding additional usage metrics for Release to weekly ping

See merge request gitlab-org/gitlab-ce!25014
parents a97261f2 ff2de2f1
...@@ -54,6 +54,8 @@ module Gitlab ...@@ -54,6 +54,8 @@ module Gitlab
auto_devops_disabled: count(::ProjectAutoDevops.disabled), auto_devops_disabled: count(::ProjectAutoDevops.disabled),
deploy_keys: count(DeployKey), deploy_keys: count(DeployKey),
deployments: count(Deployment), deployments: count(Deployment),
successful_deployments: count(Deployment.success),
failed_deployments: count(Deployment.failed),
environments: count(::Environment), environments: count(::Environment),
clusters: count(::Clusters::Cluster), clusters: count(::Clusters::Cluster),
clusters_enabled: count(::Clusters::Cluster.enabled), clusters_enabled: count(::Clusters::Cluster.enabled),
......
...@@ -79,6 +79,8 @@ describe Gitlab::UsageData do ...@@ -79,6 +79,8 @@ describe Gitlab::UsageData do
auto_devops_disabled auto_devops_disabled
deploy_keys deploy_keys
deployments deployments
successful_deployments
failed_deployments
environments environments
clusters clusters
clusters_enabled clusters_enabled
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment