Sha256: e4c5ca8729f2780386a3eef86f9139cafcc1233ad62093369483eeee8e31e70e
Contents?: true
Size: 488 Bytes
Versions: 5
Compression:
Stored size: 488 Bytes
Contents
require 'appsignal' require 'appsignal/rack/sinatra_instrumentation' Appsignal.logger.info("Loading Sinatra (#{Sinatra::VERSION}) integration") app_settings = ::Sinatra::Application.settings Appsignal.config = Appsignal::Config.new( app_settings.root, app_settings.environment, :log_file_path => File.join(app_settings.root, 'appsignal.log') ) Appsignal.start_logger Appsignal.start if Appsignal.active? ::Sinatra::Application.use(Appsignal::Rack::SinatraInstrumentation) end
Version data entries
5 entries across 5 versions & 1 rubygems