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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
64b04fb0
Commit
64b04fb0
authored
Apr 11, 2019
by
Ryan Cobb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use Gitlab::Metrics methods for checking if metrics are enabled
parent
de653990
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lib/gitlab/usage_data.rb
lib/gitlab/usage_data.rb
+2
-2
No files found.
lib/gitlab/usage_data.rb
View file @
64b04fb0
...
...
@@ -117,11 +117,11 @@ module Gitlab
container_registry_enabled:
Gitlab
.
config
.
registry
.
enabled
,
gitlab_shared_runners_enabled:
Gitlab
.
config
.
gitlab_ci
.
shared_runners_enabled
,
gravatar_enabled:
Gitlab
::
CurrentSettings
.
gravatar_enabled?
,
influxdb_metrics_enabled:
Gitlab
::
CurrentSettings
.
metrics_enabled?
,
influxdb_metrics_enabled:
Gitlab
::
Metrics
.
influx_
metrics_enabled?
,
ldap_enabled:
Gitlab
.
config
.
ldap
.
enabled
,
mattermost_enabled:
Gitlab
.
config
.
mattermost
.
enabled
,
omniauth_enabled:
Gitlab
::
Auth
.
omniauth_enabled?
,
prometheus_metrics_enabled:
Gitlab
::
CurrentSetting
s
.
prometheus_metrics_enabled?
,
prometheus_metrics_enabled:
Gitlab
::
Metric
s
.
prometheus_metrics_enabled?
,
reply_by_email_enabled:
Gitlab
::
IncomingEmail
.
enabled?
,
signup_enabled:
Gitlab
::
CurrentSettings
.
allow_signup?
}
...
...
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