Skip to content

Make SimpleSpanProcessor thread safe #331

@pyohannes

Description

@pyohannes

The SimpleSpanProcessor is not thread-safe: it is not safe to call the Export method on the exporter concurrently, and the SimpleSpanProcessor ends up calling Export from different threads without locking.

The SimpleSpanProcessor should implement locking around the calls Export to ensure that Export is not called concurrently from different threads.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions