Sha256: 77bbd34d01bd373e31cf43e1f9afb5151f77eeb6ef4d875c68744fed51a46bc4
Contents?: true
Size: 497 Bytes
Versions: 31
Compression:
Stored size: 497 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 ) 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
31 entries across 31 versions & 1 rubygems