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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
547dd817
Commit
547dd817
authored
Sep 06, 2017
by
Pawel Chojnacki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix rubocop warnings
parent
4cf6be2b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
lib/gitlab/metrics/method_call.rb
lib/gitlab/metrics/method_call.rb
+1
-1
lib/gitlab/metrics/samplers/base_sampler.rb
lib/gitlab/metrics/samplers/base_sampler.rb
+0
-1
No files found.
lib/gitlab/metrics/method_call.rb
View file @
547dd817
...
...
@@ -2,7 +2,7 @@ module Gitlab
module
Metrics
# Class for tracking timing information about method calls
class
MethodCall
BASE_LABELS
=
{
module:
nil
,
method:
nil
}
BASE_LABELS
=
{
module:
nil
,
method:
nil
}
.
freeze
attr_reader
:real_time
,
:cpu_time
,
:call_count
def
self
.
call_real_duration_histogram
...
...
lib/gitlab/metrics/samplers/base_sampler.rb
View file @
547dd817
...
...
@@ -62,4 +62,3 @@ module Gitlab
end
end
end
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