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
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
4 deletions
+3
-4
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
lib/gitlab/metrics/samplers/influx_sampler.rb
lib/gitlab/metrics/samplers/influx_sampler.rb
+1
-1
lib/gitlab/metrics/samplers/unicorn_sampler.rb
lib/gitlab/metrics/samplers/unicorn_sampler.rb
+1
-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
lib/gitlab/metrics/samplers/influx_sampler.rb
View file @
547dd817
...
...
@@ -100,4 +100,4 @@ module Gitlab
end
end
end
end
\ No newline at end of file
end
lib/gitlab/metrics/samplers/unicorn_sampler.rb
View file @
547dd817
...
...
@@ -47,4 +47,4 @@ module Gitlab
end
end
end
end
\ No newline at end of file
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