Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cs_comments_service
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
cs_comments_service
Commits
5b9f339b
Commit
5b9f339b
authored
Dec 10, 2013
by
jimabramson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 2 broken newrelic method instrumentations
parent
67a6d6f7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
lib/helpers.rb
+1
-1
models/comment_thread.rb
+4
-2
No files found.
lib/helpers.rb
View file @
5b9f339b
...
...
@@ -299,7 +299,7 @@ helpers do
add_method_tracer
:thread
add_method_tracer
:comment
add_method_tracer
:flag_as_abuse
add_method_tracer
:unflag_as_abuse
add_method_tracer
:un
_
flag_as_abuse
add_method_tracer
:author_contents_only
add_method_tracer
:handle_threads_query
...
...
models/comment_thread.rb
View file @
5b9f339b
...
...
@@ -309,7 +309,9 @@ private
subscriptions
.
delete_all
end
include
::
NewRelic
::
Agent
::
MethodTracer
add_method_tracer
:perform_search
class
<<
self
include
::
NewRelic
::
Agent
::
MethodTracer
add_method_tracer
:perform_search
,
'Custom/perform_search'
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