Commit 0ec5bf4d authored by Dylan Griffith's avatar Dylan Griffith

Merge branch '212962-cluster-distinct_by_user-to-move-to-batch-counting-knative' into 'master'

Clusters::Applications::Knative move to batch counting

See merge request gitlab-org/gitlab!29003
parents 1a6b9348 72d183fb
---
title: Move Clusters Application Knative to batch counting
merge_request: 29003
author:
type: performance
...@@ -205,7 +205,7 @@ module EE ...@@ -205,7 +205,7 @@ module EE
clusters_applications_cert_managers: clusters_user_distinct_count(::Clusters::Applications::CertManager, time_period), clusters_applications_cert_managers: clusters_user_distinct_count(::Clusters::Applications::CertManager, time_period),
clusters_applications_helm: ::Clusters::Applications::Helm.where(time_period).distinct_by_user, clusters_applications_helm: ::Clusters::Applications::Helm.where(time_period).distinct_by_user,
clusters_applications_ingress: clusters_user_distinct_count(::Clusters::Applications::Ingress, time_period), clusters_applications_ingress: clusters_user_distinct_count(::Clusters::Applications::Ingress, time_period),
clusters_applications_knative: ::Clusters::Applications::Knative.where(time_period).distinct_by_user, clusters_applications_knative: clusters_user_distinct_count(::Clusters::Applications::Knative, time_period),
clusters_disabled: distinct_count(::Clusters::Cluster.disabled.where(time_period), :user_id), clusters_disabled: distinct_count(::Clusters::Cluster.disabled.where(time_period), :user_id),
clusters_enabled: distinct_count(::Clusters::Cluster.enabled.where(time_period), :user_id), clusters_enabled: distinct_count(::Clusters::Cluster.enabled.where(time_period), :user_id),
clusters_platforms_gke: distinct_count(::Clusters::Cluster.gcp_installed.enabled.where(time_period), :user_id), clusters_platforms_gke: distinct_count(::Clusters::Cluster.gcp_installed.enabled.where(time_period), :user_id),
......
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