Add New Relic monitoring
This commit is contained in:
parent
9ef22bca77
commit
c42c13927c
2 changed files with 7 additions and 1 deletions
1
Gemfile
1
Gemfile
|
@ -1,2 +1,3 @@
|
||||||
source 'https://rubygems.org'
|
source 'https://rubygems.org'
|
||||||
gem 'camping'
|
gem 'camping'
|
||||||
|
gem 'newrelic_rpm'
|
|
@ -1,4 +1,5 @@
|
||||||
require 'camping'
|
require 'camping'
|
||||||
|
require 'newrelic_rpm'
|
||||||
|
|
||||||
# Camping is a great small framework.
|
# Camping is a great small framework.
|
||||||
Camping.goes :StargateRando
|
Camping.goes :StargateRando
|
||||||
|
@ -82,3 +83,7 @@ module StargateRando::Views
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
module StargateRando
|
||||||
|
include NewRelic::Agent::Instrumentation::Camping
|
||||||
|
end
|
Loading…
Add table
Add a link
Reference in a new issue