lib/spectator/registry.rb in netflix-spectator-rb-0.2.2 vs lib/spectator/registry.rb in netflix-spectator-rb-0.3.0
- old
+ new
@@ -1,13 +1,13 @@
# frozen_string_literal: true
-require 'spectator/clock'
-require 'spectator/counter'
-require 'spectator/distribution_summary'
-require 'spectator/gauge'
-require 'spectator/http'
-require 'spectator/meter_id'
-require 'spectator/timer'
+require_relative 'clock'
+require_relative 'counter'
+require_relative 'distribution_summary'
+require_relative 'gauge'
+require_relative 'http'
+require_relative 'meter_id'
+require_relative 'timer'
module Spectator
# Registry to manage a set of meters
class Registry
DEFAULT_BATCH_SIZE = 10_000