lib/honeycomb/configuration.rb in honeycomb-beeline-2.7.1 vs lib/honeycomb/configuration.rb in honeycomb-beeline-2.8.0
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
require "socket"
-require "honeycomb/propagation/honeycomb"
+require "honeycomb/propagation/default"
module Honeycomb
# Used to configure the Honeycomb client
class Configuration
attr_accessor :write_key,
@@ -73,10 +73,10 @@
@http_trace_parser_hook = hook
elsif @http_trace_parser_hook
@http_trace_parser_hook
else
# by default we try to parse incoming honeycomb traces
- HoneycombPropagation::UnmarshalTraceContext.method(:parse_rack_env)
+ DefaultPropagation::UnmarshalTraceContext.method(:parse_rack_env)
end
end
def http_trace_propagation_hook(&hook)
if block_given?