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
ae0a7fa9
Commit
ae0a7fa9
authored
Feb 25, 2020
by
Bob Van Landuyt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove sidekiq separate tracing middleware
This is now contained in the labkit middleware.
parent
a92438b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
config/initializers/tracing.rb
config/initializers/tracing.rb
+0
-16
No files found.
config/initializers/tracing.rb
View file @
ae0a7fa9
...
...
@@ -5,22 +5,6 @@ if Labkit::Tracing.enabled?
config
.
middleware
.
insert_after
Labkit
::
Middleware
::
Rack
,
::
Labkit
::
Tracing
::
RackMiddleware
end
# Instrument the Sidekiq client
Sidekiq
.
configure_client
do
|
config
|
config
.
client_middleware
do
|
chain
|
chain
.
add
Labkit
::
Tracing
::
Sidekiq
::
ClientMiddleware
end
end
# Instrument Sidekiq server calls when running Sidekiq server
if
Gitlab
::
Runtime
.
sidekiq?
Sidekiq
.
configure_server
do
|
config
|
config
.
server_middleware
do
|
chain
|
chain
.
add
Labkit
::
Tracing
::
Sidekiq
::
ServerMiddleware
end
end
end
# Instrument Redis
Labkit
::
Tracing
::
Redis
.
instrument
...
...
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