Support monitoring of MongoDB Atlas
General
Escalation
General
Escalation
Description
How to test
None
How to document
None
relates to
Smart Checklist
Activity
Show:

Artem Gavrilov May 9, 2023 at 1:29 PM
in https://jira.percona.com/browse/PMM-11849 we made all DSNs for mongo db `direct` by default.

Michal March 1, 2023 at 4:12 PM
I briefly looked at this.
It's not a CLI task. It's related to exporters. The flag needs to be passed across several layers.

Michal February 27, 2023 at 12:21 PM
Not at the moment.
If it's only about passing a flag to the exporter, it's 3.
If not, we need to first take a look what this entails. It could be a bigger change.

Ivan Groenewold August 8, 2022 at 2:02 PM
The purpose is to allow the pmm client to connect to an Atlas cluster to gather metrics. In Atlas clusters individual members are not directly accessible from outside Atlas, so the pmm agent cannot connect directly to each node as usual.

Michal August 8, 2022 at 1:49 PM
I'm happy to look into this.
What shall be the purpose of the `--direct-connection=false` flag?
Details
Details
Assignee
Unassigned
UnassignedReporter

Priority
Components
Labels
Needs QA
Yes
Needs Doc
No
Affects versions
Smart Checklist
Open Smart Checklist
Smart Checklist

Open Smart Checklist
Created July 21, 2022 at 3:31 PM
Updated February 28, 2025 at 11:12 AM
MongoDB Atlas doesn’t allow direct connections. mongodb_exporter already supports using a --direct (true/false) argument:
but there is no way to pass that argument to pmm-admin.
Proposed fix: implement a --direct argument on pmm-admin that passes on the option to mongodb_exporter.