Commit 4478103d authored by Matija Čupić's avatar Matija Čupić

Rename cluster datapoint names to be more specific

parent e46950f2
...@@ -51,12 +51,12 @@ module Gitlab ...@@ -51,12 +51,12 @@ module Gitlab
clusters: ::Clusters::Cluster.count, clusters: ::Clusters::Cluster.count,
clusters_enabled: ::Clusters::Cluster.enabled.count, clusters_enabled: ::Clusters::Cluster.enabled.count,
clusters_disabled: ::Clusters::Cluster.disabled.count, clusters_disabled: ::Clusters::Cluster.disabled.count,
clusters_gke: ::Clusters::Cluster.where(provider_type: ::Clusters::Cluster.provider_types[:gcp]).count, clusters_platforms_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_platforms_user: ::Clusters::Cluster.where(provider_type: ::Clusters::Cluster.provider_types[:user]).count,
clusters_helm: ::Clusters::Applications::Helm.count, clusters_applications_helm: ::Clusters::Applications::Helm.count,
clusters_ingress: ::Clusters::Applications::Ingress.count, clusters_applications_ingress: ::Clusters::Applications::Ingress.count,
clusters_prometheus: ::Clusters::Applications::Prometheus.count, clusters_applications_prometheus: ::Clusters::Applications::Prometheus.count,
clusters_runner: ::Clusters::Applications::Runner.count, clusters_applications_runner: ::Clusters::Applications::Runner.count,
in_review_folder: ::Environment.in_review_folder.count, in_review_folder: ::Environment.in_review_folder.count,
groups: Group.count, groups: Group.count,
issues: Issue.count, issues: Issue.count,
......
...@@ -64,12 +64,12 @@ describe Gitlab::UsageData do ...@@ -64,12 +64,12 @@ describe Gitlab::UsageData do
clusters clusters
clusters_enabled clusters_enabled
clusters_disabled clusters_disabled
clusters_gke clusters_platforms_gke
clusters_user clusters_platforms_user
clusters_helm clusters_applications_helm
clusters_ingress clusters_applications_ingress
clusters_prometheus clusters_applications_prometheus
clusters_runner clusters_applications_runner
in_review_folder in_review_folder
groups groups
issues issues
......
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