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

Mongo/DocDB Insert, update and admin commands not recorded with useUnifiedTopology: true #1078

Closed
jprosevear opened this issue Sep 4, 2020 · 4 comments · Fixed by #1159
Closed
Labels
bug Something isn't working community integrations
Milestone

Comments

@jprosevear
Copy link

Describe the bug
Connect to DocumentDB with useUnifiedTopology: true , traces will show *-mongodb spans but only for find operations. insert, update, admin ops all appear to be missing. useUnifiedTopology: false shows the spans.

Environment
AWS/EC2

@jprosevear jprosevear added the bug Something isn't working label Sep 4, 2020
@jprosevear
Copy link
Author

I saw number #1048 but this is different in that some queries show up, others do not.

@nagypeterjob
Copy link

Same thing for us since we set useUnifiedTopology: true. findAndModify and insert queries are not traced.

Tracer version: 0.26.1
Agent version: 7.19.2
Cluster Agent version: 1.5.2

@rochdev
Copy link
Member

rochdev commented Nov 11, 2020

I'm currently working on this and it will be fixed in next release. Basically most of the code skips the Server class that we're instrumenting when using unified topology.

@jprosevear
Copy link
Author

Confirmed working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working community integrations
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants