8000 fix(tracing): Instrument cursors returned from MongoDB operations. by onurtemizkan · Pull Request #6437 · getsentry/sentry-javascript · GitHub
[go: up one dir, main page]

Skip to content

fix(tracing): Instrument cursors returned from MongoDB operations. #6437

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

Merged
merged 2 commits into from
Dec 7, 2022

Conversation

onurtemizkan
Copy link
Collaborator

Checking if the returned value is a Cursor using an internal utility instead of matching EventEmitter type as done in #6412 and #6337.

Fixes #4495

Instrumented Cursors returned from certain MongoDB operations, this also resolves the problem mentioned in #5278.

@onurtemizkan onurtemizkan force-pushed the onur/fix-mongodb-tracing-cursors branch 2 times, most recently from 128b2ce to 6a821ba Compare December 6, 2022 14:50
@AbhiPrasad AbhiPrasad merged commit 329836d into master Dec 7, 2022
@AbhiPrasad AbhiPrasad deleted the onur/fix-mongodb-tracing-cursors branch December 7, 2022 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MongoDB Integration: find method not measured correctly.
2 participants
0