1
0
mirror of https://github.com/danbee/tube-status-server synced 2025-03-04 08:39:12 +00:00

Add New Relic.

This commit is contained in:
Dan Barber 2013-01-31 09:57:00 +00:00
parent d248c8e1dd
commit 87968a533a
3 changed files with 8 additions and 0 deletions

View File

@ -5,6 +5,8 @@ gem 'faraday'
gem 'xml-simple'
gem 'foreman'
gem 'newrelic_rpm'
group :development do
gem 'shotgun'
end

View File

@ -8,6 +8,7 @@ GEM
foreman (0.61.0)
thor (>= 0.13.6)
multipart-post (1.1.5)
newrelic_rpm (3.5.4.34)
rack (1.5.0)
rack-protection (1.3.2)
rack
@ -31,6 +32,7 @@ PLATFORMS
DEPENDENCIES
faraday
foreman
newrelic_rpm
shotgun
sinatra
thin

View File

@ -3,6 +3,10 @@ require 'json'
require 'xmlsimple'
require 'faraday'
configure :production do
require 'newrelic_rpm'
end
class Tubestatus < Sinatra::Base
def parse_xml_feed(feed_url)
uri = URI(feed_url)