Sha256: 675ec5b50a5805a8f8f47aa1e2478e65a3e52794abb0526c58bb2dfe34c0915f
Contents?: true
Size: 587 Bytes
Versions: 30
Compression:
Stored size: 587 Bytes
Contents
# frozen_string_literal: true module Datadog module AppSec module Contrib # Instrument Sinatra. module Sinatra # Sinatra framework code, used to essentially: # - handle configuration entries which are specific to Datadog tracing # - instrument parts of the framework when needed module Framework # Configure Rack from Sinatra, but only if Rack has not been configured manually beforehand def self.setup Datadog.configuration.appsec.instrument(:rack) end end end end end end
Version data entries
30 entries across 30 versions & 2 rubygems