You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-23Lines changed: 5 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,27 +24,6 @@ A flag, `--compatible-mode`, which exposes metrics with 0.1x compatible metric
24
24
names has been implemented which simplifies migration from the old version to
25
25
the current version.
26
26
27
-
## Flags
28
-
|Flag|Description|Example|
29
-
|-----|-----|-----|
30
-
|-h, \-\-help|Show context-sensitive help||
31
-
|\-\-compatible-mode|Exposes new metrics in the new and old format at the same time||
32
-
|\-\-discovering-mode|Enable autodiscover collections from databases which set in collstats-colls and indexstats-colls||
33
-
|\-\-mongodb.collstats-colls|List of comma separated databases.collections to get stats|\-\-mongodb.collstats-colls=testdb.testcol1,testdb.testcol2|
34
-
|\-\-mongodb.direct-connect|Whether or not a direct connect should be made. Direct connections are not valid if multiple hosts are specified or an SRV URI is used|\-\-mongodb.direct-connect=false|
35
-
|\-\-mongodb.indexstats-colls|List of comma separated database.collections to get index stats|\-\-mongodb.indexstats-colls=db1.col1,db1.col2|
36
-
|\-\-mongodb.uri|MongoDB connection URI ($MONGODB_URI)|\-\-mongodb.uri=mongodb://user:pass@127.0.0.1:27017/admin?ssl=true|
37
-
|\-\-mongodb.global-conn-pool|Use global connection pool instead of creating new connection for each http request.||
38
-
|\-\-web.listen-address|Address to listen on for web interface and telemetry|\-\-web.listen-address=":9216"|
|--mongodb.collstats-colls|List of comma separared databases.collections to get $collStats|--mongodb.collstats-colls=db1,db2.col2|
10
+
|--mongodb.indexstats-colls|List of comma separared databases.collections to get $indexStats|--mongodb.indexstats-colls=db1.col1,db2.col2|
11
+
|--[no-]mongodb.direct-connect|Whether or not a direct connect should be made. Direct connections are not valid if multiple hosts are specified or an SRV URI is used||
12
+
|--[no-]mongodb.global-conn-pool|Use global connection pool instead of creating new pool for each http request||
13
+
|--mongodb.uri|MongoDB connection URI ($MONGODB_URI)|--mongodb.uri=mongodb://user:pass@127.0.0.1:27017/admin?ssl=true|
14
+
|--web.listen-address|Address to listen on for web interface and telemetry|--web.listen-address=":9216"|
0 commit comments