Open telemetry impact the performance in case of spans and logging creations are happening concurrently #2538
Labels
bug
Something isn't working
priority:p3
Bugs which cause problems in user apps not related to correctness (performance, memory use, etc)
What version of OpenTelemetry are you using?
What version of Node are you using?
Node.js v20.17.0
What did you do?
PFB code for Node service with Open telemetry
index.js
logger/index.js
tracing/index.js
package.json
Above attached code is impacting high performance. Please find the below apache benchmark report
apache benchmark report without open telemetry
What did you expect to see?
Open telemetry should not impact the performance in case of concurrent span and logs creation.
What did you see instead?
Open telemetry is not working properly in case of concurrent logs and span creation.
Additional context
Code for without Open telemetry
index.js
package.json
The text was updated successfully, but these errors were encountered: