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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
4478103d
Commit
4478103d
authored
Mar 26, 2018
by
Matija Čupić
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename cluster datapoint names to be more specific
parent
e46950f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
lib/gitlab/usage_data.rb
lib/gitlab/usage_data.rb
+6
-6
spec/lib/gitlab/usage_data_spec.rb
spec/lib/gitlab/usage_data_spec.rb
+6
-6
No files found.
lib/gitlab/usage_data.rb
View file @
4478103d
...
...
@@ -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
,
...
...
spec/lib/gitlab/usage_data_spec.rb
View file @
4478103d
...
...
@@ -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
...
...
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