Sha256: 83940e6ac2a6a0f77be2a71bb5235e57dcebbfa4bdf2ed221318a80421cb2c2e
Contents?: true
Size: 448 Bytes
Versions: 27
Compression:
Stored size: 448 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::SinatraInstrumentation) end
Version data entries
27 entries across 27 versions & 1 rubygems