diff --git a/Gemfile b/Gemfile index 5e5eaf6..1d47e2f 100644 --- a/Gemfile +++ b/Gemfile @@ -1,2 +1,3 @@ source 'https://rubygems.org' -gem 'camping' \ No newline at end of file +gem 'camping' +gem 'newrelic_rpm' \ No newline at end of file diff --git a/stargaterando.rb b/stargaterando.rb index aa2fce5..b929cad 100644 --- a/stargaterando.rb +++ b/stargaterando.rb @@ -1,4 +1,5 @@ require 'camping' +require 'newrelic_rpm' # Camping is a great small framework. Camping.goes :StargateRando @@ -82,3 +83,7 @@ module StargateRando::Views end end + +module StargateRando + include NewRelic::Agent::Instrumentation::Camping +end \ No newline at end of file