Sha256: ed1f2837b520b70c594b7b7da9dc603296edffec50a816b02a1a26f1c02661d7
Contents?: true
Size: 429 Bytes
Versions: 19
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
19 entries across 19 versions & 1 rubygems