Skip to content

What is the best way to handle No-Op #4414

Answered by Flarna
simonfl3tcher asked this question in Q&A
Discussion options

You must be logged in to vote

well, if you start the SDK it's expected that the SDK is started and it does it's job to create traces, metrics,...
Just don't start the SDK if you don't want this.

The API is built to work without SDK. This allows to write instrumentations using API only as dependency. If there is an SDK they create real spans/metrics if not it's a noop (with hopefully minimal overhead).

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
7 replies
@simonfl3tcher
Comment options

@simonfl3tcher
Comment options

@simonfl3tcher
Comment options

@Flarna
Comment options

Answer selected by simonfl3tcher
@simonfl3tcher
Comment options

@Flarna
Comment options

@simonfl3tcher
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants