lib/dexter.rb in pgdexter-0.4.2 vs lib/dexter.rb in pgdexter-0.4.3
- old
+ new
@@ -2,26 +2,32 @@
require "pg"
require "pg_query"
require "slop"
# stdlib
+require "csv"
require "json"
require "set"
require "time"
# modules
-require "dexter/version"
-require "dexter/logging"
-require "dexter/client"
-require "dexter/collector"
-require "dexter/indexer"
-require "dexter/log_parser"
-require "dexter/csv_log_parser"
-require "dexter/json_log_parser"
-require "dexter/pg_stat_activity_parser"
-require "dexter/sql_log_parser"
-require "dexter/processor"
-require "dexter/query"
+require_relative "dexter/logging"
+require_relative "dexter/client"
+require_relative "dexter/collector"
+require_relative "dexter/indexer"
+require_relative "dexter/processor"
+require_relative "dexter/query"
+require_relative "dexter/version"
+
+# parsers
+require_relative "dexter/log_parser"
+require_relative "dexter/csv_log_parser"
+require_relative "dexter/csv_log_table_parser"
+require_relative "dexter/json_log_parser"
+require_relative "dexter/pg_stat_activity_parser"
+require_relative "dexter/sql_log_parser"
+require_relative "dexter/stderr_log_parser"
+require_relative "dexter/stderr_log_table_parser"
module Dexter
class Abort < StandardError; end
end