Closed
Description
openedon Dec 27, 2019
I'm seeing following error when manually setting SyncWriter:
An error occurred while loading spec_helper.
Failure/Error: if writer.priority_sampler.nil?
NoMethodError:
undefined method `priority_sampler' for #<Datadog::SyncWriter:0x00007fa7012a9c48>
# /Users/ynaidyon/.rvm/gems/ruby-2.6.5/gems/ddtrace-0.30.0/lib/ddtrace/tracer.rb:410:in `configure_writer'
The problem seems to be this line: https://github.com/DataDog/dd-trace-rb/blob/master/lib/ddtrace/tracer.rb#L367 since there is noSyncWriter#priority_sampler
method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment