Rename cluster datapoint names to be more specific
This commit is contained in:
parent
e46950f284
commit
4478103d99
2 changed files with 12 additions and 12 deletions
|
@ -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,
|
||||
|
|
|
@ -64,12 +64,12 @@ describe Gitlab::UsageData do
|
|||
clusters
|
||||
clusters_enabled
|
||||
clusters_disabled
|
||||
clusters_gke
|
||||
clusters_user
|
||||
clusters_helm
|
||||
clusters_ingress
|
||||
clusters_prometheus
|
||||
clusters_runner
|
||||
clusters_platforms_gke
|
||||
clusters_platforms_user
|
||||
clusters_applications_helm
|
||||
clusters_applications_ingress
|
||||
clusters_applications_prometheus
|
||||
clusters_applications_runner
|
||||
in_review_folder
|
||||
groups
|
||||
issues
|
||||
|
|
Loading…
Reference in a new issue