aws / aws-xray-sdk-node

The official AWS X-Ray SDK for Node.js.
Apache License 2.0
271 stars 155 forks source link

Feature Request: Capture MongoDB #3

Open vladholubiev opened 6 years ago

vladholubiev commented 6 years ago

Since MongoDB is probably the most popular DB used with Node.js apps it makes sense to support it in this SDK.

MartinLoeper commented 6 years ago

Is there any progress in this issue? I saw mongodb instrumentation in newrelic recently and miss it here =(

I am currently thinking about creating a patcher myself. However that is not easy for the native nodejs mongo driver...

Anyone here who has experience with this? Some possibly helpful sources: [1] New Relic's Instrumentation Implementation for MongoDB in NodeJs [2] Example of an incomplete/experimental X-Ray patcher for MongoDB in NodeJs

tomasbruckner commented 5 years ago

+1

angezanetti commented 5 years ago

+1

abemedia commented 5 years ago

Are there any plans for this? I'd be happy to contribute...

awssandra commented 5 years ago

@abeMedia sorry for the delay, we do accept (and highly appreciate) PRs and we are happy to work with you to get this out the door sooner than later.

askdesigners commented 4 years ago

haha nice. A billion dollar corporation that will gladly take your free labor.

andreas-bergstrom commented 4 years ago

Please give this change some more love. It can't be that much work?

bhautikpip commented 4 years ago

Hi,

We have this item in our backlog. Hope to prioritize this feature request soon! Meanwhile we encourage you to submit a PR and we will be helping you with any design recommendations/suggestions.

daveykane commented 3 years ago

+1

AlexRex commented 3 years ago

Is there any progress on this?

willarmiros commented 3 years ago

Hi all,

Currently, the OpenTelemetry SDK for Javascript supports instrumentation of MongoDB and we are building out support for OpenTelemetry instrumentation with an X-Ray backend. This way, you can get the advantage of instrumenting MongoDB (and many other libraries) but still have traces sent to the X-Ray service. This support is currently available as a public beta, so we are open to feedback on the integration in this repo. Here's our documentation for setting up the X-Ray integration with OpenTelemetry instrumentation.

guspanc commented 3 years ago

@bhautikpip any update or roadmap for this?

wanpdsantos commented 3 years ago

Any updates ?

willarmiros commented 3 years ago

OpenTelemetry JavaScript is now supported as a generally available method for instrumenting applications for tracing with X-Ray. If you would like to instrument MongoDB we recommend you follow this documentation for onboarding with OpenTelemetry JS. At this time we do not have plans to implement this feature for the X-Ray SDK.

smarinade commented 2 years ago

Any updates?