Sha256: 436faa0188657e420815078f58e0652ac4e148abe534d528d2a7728bc611108a
Contents?: true
Size: 429 Bytes
Versions: 43
Compression:
Stored size: 429 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 || Dir.pwd, app_settings.environment ) Appsignal.start_logger Appsignal.start if Appsignal.active? ::Sinatra::Base.use(Appsignal::Rack::SinatraBaseInstrumentation) end
Version data entries
43 entries across 43 versions & 1 rubygems