-
Notifications
You must be signed in to change notification settings - Fork 160
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
MongoDB legacy integration #166
Conversation
It looks like the CI tests are passing because the mongo extension I tried to pull in for 5.6 isn't working so it's skipping them. Thoughts? :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @SammyK awesome job. A lot of very useful info will be added to our traces. I love it 😄 .
I added a few comments if they make sense to you.
b9d1338
to
63d48ea
Compare
Yes. Dockerhub images build does not trigger automatically. Just triggered it, it may take up to 30 mins |
It looks great, just one thing from the top of my head @SammyK. Did you try to send some real traces tot he UI? How many "levels" of tracing you see? Just to make sure that we are not tracing too much. E.g. in the case of the methods that we trace are mutually exclusive, so the traces only go no more than 2/3 levels. Just curious if you played with it. |
aea1efd
to
b379211
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a few more comments to the PR, also based on the integrations enabling/disabling feature we just merged into master
… there for CI checks
b379211
to
45a7c4b
Compare
I think I came up with an elegant solution to our skip-tests woes. I created a new I also refactored this based on the new auto loading feature. :) |
Thanks for all the help with this @labbati! Here's a screenshot of the trace we did together: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM :D awesome @SammyK
I only noticed a couple of missing docblock, feels free to ignore those comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like we have mongodb integration 😄 good job @SammyK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💥
Description
Adds an integration for the legacy mongo extension. So far this traces the following classes:
MongoClient
MongoDB
MongoCollection
If you think we need to trace more than this, let me know. Also, this tags the BSON
MongoID
where it finds it and I'm not sure if we want to trace the ID or not. Just let me know! :)Readiness checklist