summaryrefslogtreecommitdiff
path: root/lib/gitlab/usage_data.rb
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-03-26 21:54:13 +0200
committerMatija Čupić <matteeyah@gmail.com>2018-03-26 21:54:13 +0200
commit4478103d99534344e929b62e8244e7b4dd4805bd (patch)
treeedc1dae4f2566ed7a8dc6e2c75cf31241c9d161b /lib/gitlab/usage_data.rb
parente46950f2849880bb7b84e40eaa925f5665c58c36 (diff)
downloadgitlab-ce-4478103d99534344e929b62e8244e7b4dd4805bd.tar.gz
Rename cluster datapoint names to be more specific
Diffstat (limited to 'lib/gitlab/usage_data.rb')
-rw-r--r--lib/gitlab/usage_data.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/gitlab/usage_data.rb b/lib/gitlab/usage_data.rb
index c28dc5cea1a..e75297b1d99 100644
--- a/lib/gitlab/usage_data.rb
+++ b/lib/gitlab/usage_data.rb
@@ -51,12 +51,12 @@ module Gitlab
clusters: ::Clusters::Cluster.count,
clusters_enabled: ::Clusters::Cluster.enabled.count,
clusters_disabled: ::Clusters::Cluster.disabled.count,
- clusters_gke: ::Clusters::Cluster.where(provider_type: ::Clusters::Cluster.provider_types[:gcp]).count,
- clusters_user: ::Clusters::Cluster.where(provider_type: ::Clusters::Cluster.provider_types[:user]).count,
- clusters_helm: ::Clusters::Applications::Helm.count,
- clusters_ingress: ::Clusters::Applications::Ingress.count,
- clusters_prometheus: ::Clusters::Applications::Prometheus.count,
- clusters_runner: ::Clusters::Applications::Runner.count,
+ clusters_platforms_gke: ::Clusters::Cluster.where(provider_type: ::Clusters::Cluster.provider_types[:gcp]).count,
+ clusters_platforms_user: ::Clusters::Cluster.where(provider_type: ::Clusters::Cluster.provider_types[:user]).count,
+ clusters_applications_helm: ::Clusters::Applications::Helm.count,
+ clusters_applications_ingress: ::Clusters::Applications::Ingress.count,
+ clusters_applications_prometheus: ::Clusters::Applications::Prometheus.count,
+ clusters_applications_runner: ::Clusters::Applications::Runner.count,
in_review_folder: ::Environment.in_review_folder.count,
groups: Group.count,
issues: Issue.count,