newrelic-java-agent icon indicating copy to clipboard operation
newrelic-java-agent copied to clipboard

Support for mongodb-driver-sync driver

Open kbford56 opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe.

Customer is missing mongodb calls for sync calls and is looking for visibility.

Feature Description

Customer desires to have mongodb instrumentation OOTB.

Describe Alternatives

N/A

Additional context

While this specific request is for sync calls, during initial spiking we should get a sense for what support for async calls there are and what the potential effort to support those could look like.

Priority

Please help us better understand this feature request by choosing a priority from the following options: [Really Want]

kbford56 avatar Sep 03 '24 18:09 kbford56

https://new-relic.atlassian.net/browse/NR-284728

Starting on 3.7.0 MongoDB has started releasing a new artifact org.mongodb:mongodb-driver-sync which has some overlap with the old artifact org.mongodb:mongo-java-driver. They stopped releasing the old artifact with version 4.0.

Our tests verify that the mongodb-3.7 instrumentation applies to the old artifact name, and manually testing shows that the current instrumentation should apply to the new artifact.

The mongodb-3.1 instrumentation also applies to the old artifact, even in versions 3.7+. But it will not apply to any version of the new artifact.

meiao avatar Sep 03 '24 18:09 meiao

Verified current instrumentation correctly applies to the latest Mongodb sync driver.

jtduffy avatar Oct 25 '24 12:10 jtduffy