diff --git a/stargaterando.rb b/stargaterando.rb index b929cad..7e08c98 100644 --- a/stargaterando.rb +++ b/stargaterando.rb @@ -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 \ No newline at end of file