Sha256: 2528aed7488cf7dda561920e2273f41c709fbf435829afe9339008903b584691
Contents?: true
Size: 461 Bytes
Versions: 96
Compression:
Stored size: 461 Bytes
Contents
# frozen_string_literal: true require "appsignal" require "appsignal/rack/sinatra_instrumentation" Appsignal.logger.debug("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
96 entries across 96 versions & 1 rubygems