Skip to content

Datadog::SyncWriter is broken #899

Closed

Description

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

Metadata

Assignees

Labels

bugInvolves a bugcommunityWas opened by a community membercoreInvolves Datadog core libraries

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions