Add new instrumentation for MongoDB reactive streams driver 4.2.x+
See original GitHub issueRecently added mongodb-async
instrumentation supports up to, but not including, mongodb reactive streams driver 4.2.x.
Starting with the MongoDB reactive streams driver 4.2.x, the mongo driver was refactored and our existing instrumentation no longer applies. We will need to add a new mongodb-async-4.2
instrumentation module.
https://github.com/mongodb/mongo-java-driver/tree/4.2.x/driver-reactive-streams
(Migrate to Jira)
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:8 (7 by maintainers)
Top Results From Across the Web
MongoDB Java Reactive Streams
Welcome to the documentation site for the Reactive Streams Driver, the official MongoDB driver for asynchronous Java applications. Download it by following ...
Read more >MongoDB Reactive Streams Driver Quick Start - GitHub Pages
See Installation for instructions on how to install the MongoDB driver. The following import statements: New MongoClient API (since 3.7): import com.mongodb.
Read more >Dependency Versions
Group ID Artifact ID Version
ch.qos.logback logback‑access 1.4.5
ch.qos.logback logback‑classic 1.4.5
ch.qos.logback logback‑core 1.4.5
Read more >Mongodb Java Driver 4.2.2 Java.Lang.Nosuchmethoderror ...
The official MongoDB Node.js driver allows Node.js applications to ... Create a new app.js file and add the following code to try out...
Read more >where can I download MongoDb Java Driver 4.0.1 with ...
The MongoDB reactive streams driver can be obtained via org.mongodb:mongodb-driver-reactivestreams. Spring Data MongoDB 3.0 (to be picked up ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@kford-newrelic I hate to be “that guy”, but the decision to defer resolution of this issue is even more disappointing than the decision to close #725.
As it stands (and as shared in earlier support ticket(s) and with our account manager) the New Relic Java Agent doesn’t report on almost any of the MongoDB queries performed by some of our most important deployments. The few queries that do still show up in the UI are due to legacy code using Jongo, which we’re actively migrating to the reactive driver. Right now we’re effectively blind when it comes to key database usage.
As also shared in the other ticket, this functionaliy, too, “just works” with the OpenTelemetry Java Agent.
For us the issue with MongoDB observability started back when we used MongoDB driver 3.x. These days we use 4.x, and despite that major version line being nearly 2.5 years old, it is still not properly supported by the New Relic Java Agent. (As the ticket summary states, the 4.0 line is currently supported, but the most recent 4.0.x driver release was over 1.5 years ago; by now we’re on 4.7.x. We generally upgrade our dependencies within a month of release.)
This is a driver for one of the most popular DBs in the world, and New Relic wants to be the leading observability platform. As a customer it’s hard to understand how supporting this cannot be a priority.
@Stephan202 no worries - your feedback is important to us and you’re sharing it in a respectful way intended to help us improve our products, so it’s all good!
Let me bring this back to the team - let’s see what we can do…