lib/honeycomb-beeline.rb in honeycomb-beeline-1.3.0 vs lib/honeycomb-beeline.rb in honeycomb-beeline-2.0.0
- old
+ new
@@ -23,10 +23,11 @@
class << self
extend Forwardable
attr_reader :client
- def_delegators :@client, :start_span, :add_field, :add_field_to_trace
+ def_delegators :@client, :libhoney, :start_span, :add_field,
+ :add_field_to_trace, :current_span, :current_trace
def configure
Configuration.new.tap do |config|
yield config
@client = Honeycomb::Client.new(configuration: config)