Sha256: 9831e29f5913ff75ab57b970edb671a3299a490a60fb2472d06bf0603f1fb685

Contents?: true

Size: 506 Bytes

Versions: 3

Compression:

Stored size: 506 Bytes

Contents

require 'spectator/version'
require 'spectator/registry'
require 'spectator/meter_id'
require 'spectator/clock'
require 'spectator/timer'
require 'spectator/counter'
require 'spectator/distribution_summary'
require 'spectator/gauge'
require 'logger'

# Simple library for instrumenting code to record dimensional time series.
module Spectator
  class << self
    attr_writer :logger

    def logger
      @logger ||= Logger.new($stdout).tap do |log|
        log.progname = name
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
netflix-spectator-rb-0.1.3 lib/spectator.rb
netflix-spectator-rb-0.1.1 lib/spectator.rb
spectator-rb-0.1.0 lib/spectator.rb