-
Notifications
You must be signed in to change notification settings - Fork 206
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
[BUG] Outdated MongoDB.Driver.Core dependency in Elastic.Apm.MongoDb #2416
Comments
I'm all for updating deps in general, Need to dive in and understand what the breaking change between |
Oh yeah thanks for bringing this to our attention @th3ragex! 😸 |
Hi @Mpdreamz We are facing the same issue and another one: services.AddMongoDb(
MongoClientSettings.FromUrl(mongoUrl),
name: "MongoDBHealthCheck",
timeout: options.HealthcheckTimeout); The behaviour is very weird. When we were having the version to 2.22.0 all was working fine, but when we are trying to update to 2.28.0 we get the same error as @th3ragex with the one mentioned |
Looks like MongoDB 1.28.0 introduced a breaking change: |
Opened #2419 to address this |
There's a similar issue occurring now when updating the MongoDB.Driver package to v3.0.0. Looks like Elastic.Apm.MongoDb will require this update from v2.28.0 to v3.0.0
|
The lastest MongoDB Diagnostic listener has a dependency to
"MongoDB.Driver.Core" Version="2.19.0"
apm-agent-dotnet/src/instrumentations/Elastic.Apm.MongoDb/Elastic.Apm.MongoDb.csproj
Line 29 in 2d1a0db
I have compile issues in a project with a dependency to
MongoDB.Driver Version 2.28.0
with"MongoDB.Driver.Core" Version="2.28.0"
as transient dependency and"Elastic.Apm.MongoDb" Version="1.28.1"
.in:
The last update was done on year ago: #2030
MongoDB.Driver.Core
dependency.The text was updated successfully, but these errors were encountered: