Sha256: 62bd6a0a9c374e34cf83b1130c0f54a014f47d38f5050997272c80070be86dcb
Contents?: true
Size: 464 Bytes
Versions: 28
Compression:
Stored size: 464 Bytes
Contents
# frozen_string_literal: true require "appsignal" require "appsignal/rack/sinatra_instrumentation" Appsignal.internal_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 ::Sinatra::Base.use(Appsignal::Rack::SinatraBaseInstrumentation) if Appsignal.active?
Version data entries
28 entries across 28 versions & 1 rubygems