summaryrefslogtreecommitdiff
path: root/lib/gitlab/usage_data.rb
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2017-04-06 20:52:08 +0100
committerRémy Coutable <remy@rymai.me>2017-04-14 15:20:55 +0200
commitb61199ce0ccdfcd11a338778ce300cd15e5f2a43 (patch)
tree66cba5fddfdd840b5feaeaeaac3cae31fab872ee /lib/gitlab/usage_data.rb
parent092258e92490f177c6262287d1eca4e33e908614 (diff)
downloadgitlab-ce-b61199ce0ccdfcd11a338778ce300cd15e5f2a43.tar.gz
Add prometheus services to usage ping
Diffstat (limited to 'lib/gitlab/usage_data.rb')
-rw-r--r--lib/gitlab/usage_data.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/usage_data.rb b/lib/gitlab/usage_data.rb
index 008c3d994db..6aca6db3123 100644
--- a/lib/gitlab/usage_data.rb
+++ b/lib/gitlab/usage_data.rb
@@ -36,6 +36,7 @@ module Gitlab
notes: Note.count,
pages_domains: PagesDomain.count,
projects: Project.count,
+ projects_prometheus_active: PrometheusService.active.count,
protected_branches: ProtectedBranch.count,
releases: Release.count,
services: Service.where(active: true).count,