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

Support for Mongo reactive 5.2.0

Open jtduffy opened this issue 1 year ago • 1 comments

A new instrumentation module is needed to support the mongo reactive v5.2.0 library. Below is the verify instrumentation failure when the mongodb-reactive-streams-4.8 module is run against v5.2:

Verification FAILED. Instrumentation module mongodb-reactive-streams-4.8-1.0.jar SHOULD HAVE applied to org.mongodb:mongodb-driver-reactivestreams:5.2.0 and did not. You may need to adjust the range "org.mongodb:mongodb-driver-reactivestreams:[4.8.0,)".
...
...
WeaveViolation{type=INIT_NEW_UNSUPPORTED, clazz=com/mongodb/internal/operation/DropCollectionOperation, method=<init>(Lcom/mongodb/MongoNamespace;)V}
WeaveViolation{type=METHOD_NEW_INVOKE_UNSUPPORTED, clazz=com/mongodb/internal/operation/DropCollectionOperation, method=<init>(Lcom/mongodb/MongoNamespace;)V}
WeaveViolation{type=METHOD_NEW_NON_PRIVATE_UNSUPPORTED, clazz=com/mongodb/internal/operation/DropCollectionOperation, method=<init>(Lcom/mongodb/MongoNamespace;)V}
WeaveViolation{type=METHOD_INDIRECT_INTERFACE_WEAVE, clazz=com/mongodb/reactivestreams/client/MongoClient, method=getDatabase(Ljava/lang/String;)Lcom/mongodb/reactivestreams/client/MongoDatabase;}

jtduffy avatar Sep 25 '24 11:09 jtduffy

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