diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2017-10-16 11:12:46 +0300 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2017-10-18 12:11:24 +0300 |
commit | 4c552a52260d2192a3bb654a0a83d8aea9551d07 (patch) | |
tree | 7d3966a1787b04a07c61ba08b053070becfbf4dd /lib | |
parent | e82af4a6b340f6c49ec18bd13fc9974cf08b097e (diff) |
Merge branch 'fix/sm/38960-collect-usage-pings-gcp-cluster-enabled-and-gcp-cluster-disabled-instead-of-gcp-cluster-count' into 'master'
Collect usage pings `Gcp::Cluster.enabled` and `Gcp::Cluster.disabled`, instead of `Gcp::Cluster.count`
Closes #38960
See merge request gitlab-org/gitlab-ce!14807
(cherry picked from commit 076231798dd9716479d8eef118678eeb7c2c7b11)
a6b2387d Collect usage pings `Gcp::Cluster.enabled` and `Gcp::Cluster.disabled`, instead…
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/usage_data.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/usage_data.rb b/lib/gitlab/usage_data.rb index 3f3ba77d47f..70a403652e7 100644 --- a/lib/gitlab/usage_data.rb +++ b/lib/gitlab/usage_data.rb @@ -49,6 +49,8 @@ module Gitlab deployments: Deployment.count, environments: ::Environment.count, gcp_clusters: ::Gcp::Cluster.count, + gcp_clusters_enabled: ::Gcp::Cluster.enabled.count, + gcp_clusters_disabled: ::Gcp::Cluster.disabled.count, in_review_folder: ::Environment.in_review_folder.count, groups: Group.count, issues: Issue.count, |