diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2018-04-02 07:45:52 +0000 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2018-04-02 07:45:52 +0000 |
commit | 45c009b8956f587f074b5e5136b51e5259dc29fe (patch) | |
tree | 0bcbf8393c8c6aeb6192201e6049602950cc435e /lib | |
parent | 6b89ab116110f177ecb809adf429fe05f76e97f5 (diff) | |
parent | b26913a30c608f81c44abece263da8d01faf0126 (diff) | |
download | gitlab-ce-45c009b8956f587f074b5e5136b51e5259dc29fe.tar.gz |
Merge branch '44291-usage-ping-for-kubernetes-integration' into 'master'
Resolve "Usage ping for Kubernetes integration"
Closes #44291
See merge request gitlab-org/gitlab-ce!17922
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/usage_data.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/gitlab/usage_data.rb b/lib/gitlab/usage_data.rb index 37d3512990e..8c0a4d55ea2 100644 --- a/lib/gitlab/usage_data.rb +++ b/lib/gitlab/usage_data.rb @@ -30,6 +30,7 @@ module Gitlab usage_data end + # rubocop:disable Metrics/AbcSize def system_usage_data { counts: { @@ -50,6 +51,12 @@ module Gitlab clusters: ::Clusters::Cluster.count, clusters_enabled: ::Clusters::Cluster.enabled.count, clusters_disabled: ::Clusters::Cluster.disabled.count, + clusters_platforms_gke: ::Clusters::Cluster.gcp_installed.enabled.count, + clusters_platforms_user: ::Clusters::Cluster.user_provided.enabled.count, + clusters_applications_helm: ::Clusters::Applications::Helm.installed.count, + clusters_applications_ingress: ::Clusters::Applications::Ingress.installed.count, + clusters_applications_prometheus: ::Clusters::Applications::Prometheus.installed.count, + clusters_applications_runner: ::Clusters::Applications::Runner.installed.count, in_review_folder: ::Environment.in_review_folder.count, groups: Group.count, issues: Issue.count, |