Sha256: 60d793c1fe9dd607546794ca667c8531e0e5fa4d4eaddc6fb7167e46164e2680
Contents?: true
Size: 420 Bytes
Versions: 22
Compression:
Stored size: 420 Bytes
Contents
require 'appsignal' Appsignal.logger.info('Loading Sinatra integration') app_settings = ::Sinatra::Application.settings Appsignal.config = Appsignal::Config.new( app_settings.root, app_settings.environment ) Appsignal.start_logger(app_settings.root) if Appsignal.active? Appsignal.start ::Sinatra::Application.use(Appsignal::Rack::Listener) ::Sinatra::Application.use(Appsignal::Rack::Instrumentation) end
Version data entries
22 entries across 22 versions & 1 rubygems