Sha256: 4c04770651d91afd22e7447de2bd7a7dca9fce249e09e234f75ae6390f80a945
Contents?: true
Size: 451 Bytes
Versions: 37
Compression:
Stored size: 451 Bytes
Contents
# (c) Copyright IBM Corp. 2021 # (c) Copyright Instana Inc. 2021 module Instana module Activators class Sinatra < Activator def can_instrument? defined?(::Instana::Rack) && defined?(::Sinatra) end def instrument require 'instana/frameworks/sinatra' ::Sinatra::Base.use ::Instana::Rack ::Sinatra::Base.register ::Instana::SinatraPathTemplateExtractor true end end end end
Version data entries
37 entries across 37 versions & 1 rubygems