Fix New Relic
This commit is contained in:
parent
c42c13927c
commit
763d893231
1 changed files with 5 additions and 4 deletions
|
@ -7,6 +7,11 @@ Camping.goes :StargateRando
|
|||
# Data was moved out to stargaterando-data.rb to keep this file clean
|
||||
require './stargaterando-data'
|
||||
|
||||
# This sets up New Relic monitoring
|
||||
def StargateRando.create
|
||||
NewRelic::Agent.manual_start
|
||||
end
|
||||
|
||||
# This holds our (currently there's only one) controllers.
|
||||
module StargateRando::Controllers
|
||||
class Index < R '/'
|
||||
|
@ -82,8 +87,4 @@ module StargateRando::Views
|
|||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
module StargateRando
|
||||
include NewRelic::Agent::Instrumentation::Camping
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue