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
0f15ce8c
Commit
0f15ce8c
authored
Nov 30, 2021
by
Rajendra Kadam
Committed by
Alper Akgun
Nov 30, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add note to deprecate usage_data.rb in CE and EE
parent
6466ffef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
ee/lib/ee/gitlab/usage_data.rb
ee/lib/ee/gitlab/usage_data.rb
+5
-0
lib/gitlab/usage_data.rb
lib/gitlab/usage_data.rb
+6
-0
No files found.
ee/lib/ee/gitlab/usage_data.rb
View file @
0f15ce8c
# frozen_string_literal: true
# frozen_string_literal: true
# NOTE:
# Implementing metrics direct in `usage_data.rb` is deprecated,
# please add new instrumentation class and use add_metric method.
# For more information, see https://docs.gitlab.com/ee/development/service_ping/metrics_instrumentation.html
module
EE
module
EE
module
Gitlab
module
Gitlab
module
UsageData
module
UsageData
...
...
lib/gitlab/usage_data.rb
View file @
0f15ce8c
...
@@ -10,6 +10,12 @@
...
@@ -10,6 +10,12 @@
# alt_usage_data { Gitlab::VERSION }
# alt_usage_data { Gitlab::VERSION }
# redis_usage_data(Gitlab::UsageDataCounters::WikiPageCounter)
# redis_usage_data(Gitlab::UsageDataCounters::WikiPageCounter)
# redis_usage_data { ::Gitlab::UsageCounters::PodLogs.usage_totals[:total] }
# redis_usage_data { ::Gitlab::UsageCounters::PodLogs.usage_totals[:total] }
# NOTE:
# Implementing metrics direct in `usage_data.rb` is deprecated,
# please add new instrumentation class and use add_metric method.
# For more information, see https://docs.gitlab.com/ee/development/service_ping/metrics_instrumentation.html
module
Gitlab
module
Gitlab
class
UsageData
class
UsageData
DEPRECATED_VALUE
=
-
1000
DEPRECATED_VALUE
=
-
1000
...
...
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