Sha256: f41d5bbbfb844cf9ab907587ba501a4a5b15ed4ccde7294c3d057ad95a209a47

Contents?: true

Size: 801 Bytes

Versions: 24

Compression:

Stored size: 801 Bytes

Contents

require "skylight/version"
require "skylight/core"
require "skylight/trace"
require "skylight/instrumenter"
require "skylight/middleware"
require "skylight/api"
require "skylight/helpers"
require "skylight/config"
require "skylight/errors"
require "skylight/native"

# For prettier global names
require "English"

module Skylight
  # Used from the CLI
  autoload :CLI, "skylight/cli"

  # Specifically check for Railtie since we've had at least one case of a
  #   customer having Rails defined without having all of Rails loaded.
  if defined?(Rails::Railtie)
    require "skylight/railtie"
  end

  include Core::Instrumentable

  def self.instrumenter_class
    Instrumenter
  end

  def self.config_class
    Config
  end

  Core::Probes.add_path(File.expand_path("skylight/probes", __dir__))
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
skylight-4.3.2 lib/skylight.rb
skylight-4.3.1 lib/skylight.rb
skylight-4.3.0 lib/skylight.rb
skylight-4.2.3 lib/skylight.rb
skylight-4.2.2 lib/skylight.rb
skylight-4.2.1 lib/skylight.rb
skylight-4.2.0 lib/skylight.rb
skylight-4.2.0.beta3 lib/skylight.rb
skylight-4.2.0.beta2 lib/skylight.rb
skylight-4.2.0.beta lib/skylight.rb
skylight-4.1.2 lib/skylight.rb
skylight-4.1.1 lib/skylight.rb
skylight-4.1.1.beta lib/skylight.rb
skylight-4.1.0 lib/skylight.rb
skylight-4.0.2 lib/skylight.rb
skylight-4.0.1 lib/skylight.rb
skylight-4.0.0 lib/skylight.rb
skylight-4.0.0.beta3 lib/skylight.rb
skylight-4.0.0.beta2 lib/skylight.rb
skylight-4.0.0.beta lib/skylight.rb