Skip to content

otel.Tracer(...) concurrent usage #1780

Answered by MrAlias
schmurfy asked this question in Q&A
Discussion options

You must be logged in to vote

As specified:

Tracer - all methods are safe to be called concurrently.

Also, documented here in this project:

// This method must be concurrency safe.

The otel.Tracer function will return either an internal implementation, which is tested here for concurrency safety, or the registered SDK version. If the default SDK, provided by this project, is used it as well is concurrent safe as tested here.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by Aneurysm9
Comment options

You must be logged in to vote
2 replies
@dmathieu
Comment options

@craigpastro
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #1408 on April 06, 2021 23:00.