Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

instrumentation-mongodb slowdown the db operation when concurrent operations are executed #2544

Open
gopinathr143 opened this issue Nov 20, 2024 · 1 comment
Labels
bug Something isn't working needs:reproducer This bug/feature is in need of a minimal reproducer pkg:instrumentation-mongodb

Comments

@gopinathr143
Copy link

What version of OpenTelemetry are you using?

    "@opentelemetry/api": "^1.9.0",
    "@opentelemetry/core": "1.25.1",
    "@opentelemetry/exporter-trace-otlp-grpc": "0.52.1",
    "@opentelemetry/instrumentation": "0.52.1",
    "@opentelemetry/instrumentation-express": "^0.40.1",
    "@opentelemetry/instrumentation-http": "0.52.1",
    "@opentelemetry/instrumentation-ioredis": "0.42.0",
    "@opentelemetry/instrumentation-kafkajs": "0.1.0",
    "@opentelemetry/instrumentation-mongodb": "0.46.0",
    "@opentelemetry/instrumentation-redis-4": "0.40.0",
    "@opentelemetry/instrumentation-winston": "0.38.0",
    "@opentelemetry/propagator-b3": "1.25.1",
    "@opentelemetry/resources": "1.25.1",
    "@opentelemetry/sdk-trace-base": "1.25.1",
    "@opentelemetry/sdk-trace-node": "1.25.1",
    "@opentelemetry/semantic-conventions": "1.25.1",
    "@opentelemetry/winston-transport": "0.4.0",

What version of Node are you using?

v20.11.1

What did you do?

instrumentation-mongodb slowdown the db operation when concurrent operations are executed. We have 10 db operations used to execute concurrently with different collection. Few of mongo-instrumentation has been blocked for sometime and then executing the operations

What did you expect to see?

Concurrent call should be happen without any blockage

What did you see instead?

Additional context

@gopinathr143 gopinathr143 added the bug Something isn't working label Nov 20, 2024
@dyladan
Copy link
Member

dyladan commented Nov 20, 2024

Can you please provide a reproducer to show what you're referring to? This is tough to track down without some way to test it

@dyladan dyladan added needs:reproducer This bug/feature is in need of a minimal reproducer triage labels Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs:reproducer This bug/feature is in need of a minimal reproducer pkg:instrumentation-mongodb
Projects
None yet
Development

No branches or pull requests

3 participants