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
75c88986
Commit
75c88986
authored
Jul 08, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
3d4d4a4c
5b731837
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
lib/gitlab/gitaly_client.rb
lib/gitlab/gitaly_client.rb
+0
-9
No files found.
lib/gitlab/gitaly_client.rb
View file @
75c88986
...
@@ -33,11 +33,6 @@ module Gitlab
...
@@ -33,11 +33,6 @@ module Gitlab
MUTEX
=
Mutex
.
new
MUTEX
=
Mutex
.
new
define_histogram
:gitaly_controller_action_duration_seconds
do
docstring
"Gitaly endpoint histogram by controller and action combination"
base_labels
Gitlab
::
Metrics
::
Transaction
::
BASE_LABELS
.
merge
(
gitaly_service:
nil
,
rpc:
nil
)
end
def
self
.
stub
(
name
,
storage
)
def
self
.
stub
(
name
,
storage
)
MUTEX
.
synchronize
do
MUTEX
.
synchronize
do
@stubs
||=
{}
@stubs
||=
{}
...
@@ -161,10 +156,6 @@ module Gitlab
...
@@ -161,10 +156,6 @@ module Gitlab
# Keep track, separately, for the performance bar
# Keep track, separately, for the performance bar
self
.
query_time
+=
duration
self
.
query_time
+=
duration
gitaly_controller_action_duration_seconds
.
observe
(
current_transaction_labels
.
merge
(
gitaly_service:
service
.
to_s
,
rpc:
rpc
.
to_s
),
duration
)
if
peek_enabled?
if
peek_enabled?
add_call_details
(
feature:
"
#{
service
}
#
#{
rpc
}
"
,
duration:
duration
,
request:
request_hash
,
rpc:
rpc
,
add_call_details
(
feature:
"
#{
service
}
#
#{
rpc
}
"
,
duration:
duration
,
request:
request_hash
,
rpc:
rpc
,
backtrace:
Gitlab
::
Profiler
.
clean_backtrace
(
caller
))
backtrace:
Gitlab
::
Profiler
.
clean_backtrace
(
caller
))
...
...
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