diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2018-12-05 18:48:12 +0300 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2018-12-05 18:48:12 +0300 |
commit | 65f106d565c9228a7ff94e14c4187e2ffaf792ec (patch) | |
tree | fd96c14940d2bc4c83d2204de2fe8b0dc49bf290 /lib | |
parent | 13b1508c3ed9887d9fcffdad66cbcf90b14eabd9 (diff) | |
parent | 821b4fdec70342837a9cd5df451456e45d1d666f (diff) |
Merge branch '54886-usage-data-group-clusters' into 'master'
Add UsageData for group/project clusters
Closes #54886
See merge request gitlab-org/gitlab-ce!23590
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/usage_data.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab/usage_data.rb b/lib/gitlab/usage_data.rb index 9bceec749fc..bfcc8efdc96 100644 --- a/lib/gitlab/usage_data.rb +++ b/lib/gitlab/usage_data.rb @@ -55,7 +55,11 @@ module Gitlab environments: count(::Environment), clusters: count(::Clusters::Cluster), clusters_enabled: count(::Clusters::Cluster.enabled), + project_clusters_enabled: count(::Clusters::Cluster.enabled.project_type), + group_clusters_enabled: count(::Clusters::Cluster.enabled.group_type), clusters_disabled: count(::Clusters::Cluster.disabled), + project_clusters_disabled: count(::Clusters::Cluster.disabled.project_type), + group_clusters_disabled: count(::Clusters::Cluster.disabled.group_type), clusters_platforms_gke: count(::Clusters::Cluster.gcp_installed.enabled), clusters_platforms_user: count(::Clusters::Cluster.user_provided.enabled), clusters_applications_helm: count(::Clusters::Applications::Helm.installed), |