Closed jefimm closed 3 years ago
Hey @jefimm I'm curious if you see any agent issue with pymongo 3.9 and mongo 4.4, Mongo does a pretty good job at backward compatibility usually and I can't see any impact on my end.
I have tried the current agent and it did not work with mongo 4.4. I have upgraded the pymongo and installed ca-certificates into the agent (running on kubernetes) and now it is able to connect.
As a general note the mongo integration seems to be neglected - I'm struggling to make it work as even simple count queries return 0 The mongo atlas preferred method of connecting like mongodb+srv://XXX.mongodb.net is not supported well (possible to do with "server" parameter but designated as deprecated)
I have tried the current agent and it did not work with mongo 4.4
Would you mind providing an error log so we can investigate? We're still gonna bump pymongo because it's always a good thing to do, but I can't tell what's wrong from your issue.
As a general note the mongo integration seems to be neglected
If you have other issues please detail them, the mongo integration is actively maintained.
I'm struggling to make it work as even simple count queries return 0
Please open a support ticket if you need assistance for how to configure the integration.
The mongo atlas preferred method of connecting like mongodb+srv://XXX.mongodb.net is not supported well
As you can see on the docs here and in the example conf.yaml file here monitoring a mongo cluster is performed by connecting to each node independently. Most of the monitoring commands have to be performed "locally".
That's why the MongoDB integration requires you to configure one agent (or one check instance) for each node in your cluster, and that's why mongodb+srv
is not really supported.
Support ticket was opened (#517393) I'm trying to configure clustercheck to run several queries on mongo atlas cluster and make the result a metric. This case is different from monitoring nodes in self-managed deployment.
We just upgraded pymongo: https://github.com/DataDog/integrations-core/pull/9608/s
Current mongo integration is bundling pymongo 3.9 - mongo 4.4 require pymongo 3.11