Sha256: 06c31cad3a3f118c4146a5523700bb87ef2be2ead2628f3f0129ba76d88cae13
Contents?: true
Size: 460 Bytes
Versions: 174
Compression:
Stored size: 460 Bytes
Contents
# frozen_string_literal: true 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
174 entries across 174 versions & 1 rubygems