Skip to content

OpenTelemetry HTTP Instrumentation Causing Performance Impact (50% Slowdown) #5525

Answered by pichlermarc
qaidMohammed asked this question in Q&A
Discussion options

You must be logged in to vote

@qaidMohammed thanks for reaching out.

These performance impacts have always been very difficult to quantify in the past since most examples provided were really, really light server applications that basically did little-to-no work in the handling of a request. In such apps the overhead is quite exaggerated as the bulk of the work that's done while handling a request is actually telemetry generation, examples and context management. And that is constant overhead per request - no matter if it usually takes 10ms or 500ms, impact on quick handlers will be more noticeable than on slower ones when measured in percent.

That does not go to say that there's nothing we can do to improve OTel JS' …

Replies: 3 comments 6 replies

Comment options

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

@pichlermarc
Comment options

Answer selected by qaidMohammed
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@qaidMohammed
Comment options

@pichlermarc
Comment options

@qaidMohammed
Comment options

@qaidMohammed
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
2 participants