Sha256: e4a55bbd7fa22ca168d07eb40784f170c5c89b17fef74a9ca2f34218e5d0f3d6

Contents?: true

Size: 742 Bytes

Versions: 2

Compression:

Stored size: 742 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/native'

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

  # Install probes
  def self.probe(*probes)
    Core::Probes.probe(*probes)
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
skylight-2.0.0.beta2 lib/skylight.rb
skylight-2.0.0.beta1 lib/skylight.rb