Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

Commit

Permalink
Update mongodb.md (#1293)
Browse files Browse the repository at this point in the history
Remove references to --direct-connection which was not implemented

Co-authored-by: Catalina A <[email protected]>
  • Loading branch information
igroene and catalinaadam authored Aug 12, 2024
1 parent c1e6105 commit ba6dda3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/setting-up/client/mongodb.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@ When successful, PMM Client will print `MongoDB Service added` with the service'
!!! hint alert alert-success "Tips"
- When adding nodes to a sharded cluster, ensure to add each node separately using the `--cluster mycluster` option. This allows the [MongoDB Cluster Summary](../../details/dashboards/dashboard-mongodb-cluster-summary.md) dashboard to populate correctly.
- You can also use the `--replication-set` option to specify a replication set, altough they are automatically detected. For instance, you can use `--replication-set config` for your config servers; `--replication-set rs1` for your servers in the first replica set, `--replication-set rs2` for your servers in the second replica set, and so on.
- When connecting to an Atlas instance, keep in mind that direct connections are not supported. Make sure to use the `--direct-connection=false` option with `pmm-admin`. Otherwise, replicaset status functionality will not work as expected, and the MongoDB Overview dashboard widget will show invalid values.

### Examples

Expand Down

0 comments on commit ba6dda3

Please sign in to comment.