Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
72d183fb
Commit
72d183fb
authored
Apr 07, 2020
by
alinamihaila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use clusters_user_distinct_count method
parent
54ad3b4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ee/lib/ee/gitlab/usage_data.rb
ee/lib/ee/gitlab/usage_data.rb
+1
-1
No files found.
ee/lib/ee/gitlab/usage_data.rb
View file @
72d183fb
...
...
@@ -205,7 +205,7 @@ module EE
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_ingress:
clusters_user_distinct_count
(
::
Clusters
::
Applications
::
Ingress
,
time_period
),
clusters_applications_knative:
distinct_count
(
::
Clusters
::
Applications
::
Knative
.
where
(
time_period
).
available
.
joins
(
:cluster
),
'clusters.user_id'
),
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_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
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment