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
6fccd9df
Commit
6fccd9df
authored
Mar 29, 2018
by
Matija Čupić
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change order of queries for gcp cluster usage data count
parent
8c1cfcbc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib/gitlab/usage_data.rb
lib/gitlab/usage_data.rb
+1
-1
No files found.
lib/gitlab/usage_data.rb
View file @
6fccd9df
...
@@ -51,7 +51,7 @@ module Gitlab
...
@@ -51,7 +51,7 @@ 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_platforms_gke:
::
Clusters
::
Cluster
.
includes
(
:provider_gcp
).
gcp_provided
.
where
(
cluster_providers_gcp:
{
status:
::
Clusters
::
Providers
::
Gcp
.
state_machines
[
:status
].
states
[
:created
].
value
}).
enabled
.
count
,
clusters_platforms_gke:
::
Clusters
::
Cluster
.
gcp_provided
.
includes
(
:provider_gcp
)
.
where
(
cluster_providers_gcp:
{
status:
::
Clusters
::
Providers
::
Gcp
.
state_machines
[
:status
].
states
[
:created
].
value
}).
enabled
.
count
,
clusters_platforms_user:
::
Clusters
::
Cluster
.
user_provided
.
enabled
.
count
,
clusters_platforms_user:
::
Clusters
::
Cluster
.
user_provided
.
enabled
.
count
,
clusters_applications_helm:
::
Clusters
::
Applications
::
Helm
.
installed
.
count
,
clusters_applications_helm:
::
Clusters
::
Applications
::
Helm
.
installed
.
count
,
clusters_applications_ingress:
::
Clusters
::
Applications
::
Ingress
.
installed
.
count
,
clusters_applications_ingress:
::
Clusters
::
Applications
::
Ingress
.
installed
.
count
,
...
...
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