Commit 2eb2cf51 authored by Ben Kochie's avatar Ben Kochie

Add Prometheus active projects to usage data

Collect the number of projects with active Prometheus monitoring.
parent c476b27a
......@@ -40,6 +40,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,
remote_mirrors: RemoteMirror.count,
......
......@@ -54,6 +54,7 @@ describe Gitlab::UsageData do
milestones
notes
projects
projects_prometheus_active
pages_domains
protected_branches
releases
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment