Sha256: 7efc52308a50366ccd49070e40627aa8b6f9136c98e5b533d440492c08b20af3
Contents?: true
Size: 441 Bytes
Versions: 20
Compression:
Stored size: 441 Bytes
Contents
require 'appsignal' Appsignal.logger.info("Loading Sinatra (#{Sinatra::VERSION}) integration") app_settings = ::Sinatra::Application.settings Appsignal.config = Appsignal::Config.new( app_settings.root, app_settings.environment ) Appsignal.start_logger(app_settings.root) Appsignal.start if Appsignal.active? ::Sinatra::Application.use(Appsignal::Rack::Listener) ::Sinatra::Application.use(Appsignal::Rack::Instrumentation) end
Version data entries
20 entries across 20 versions & 1 rubygems