Skip to content

Commit 4284ef2

Browse files
authored
PMM-9507 Better help. (#428)
* PMM-9507 Better help. * PMM-9507 Fix.
1 parent a8cb54b commit 4284ef2

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

go.mod

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,37 @@ require (
2121
)
2222

2323
require (
24+
github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6 // indirect
25+
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
26+
github.com/alecthomas/units v0.0.0-20210208195552-ff826a37aa15 // indirect
27+
github.com/beorn7/perks v1.0.1 // indirect
28+
github.com/cespare/xxhash/v2 v2.1.1 // indirect
29+
github.com/davecgh/go-spew v1.1.1 // indirect
30+
github.com/go-ole/go-ole v1.2.4 // indirect
31+
github.com/go-stack/stack v1.8.0 // indirect
2432
github.com/golang/protobuf v1.5.2 // indirect
2533
github.com/google/go-cmp v0.5.6 // indirect
34+
github.com/klauspost/compress v1.13.6 // indirect
2635
github.com/kr/text v0.2.0 // indirect
36+
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
2737
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
38+
github.com/pmezard/go-difflib v1.0.0 // indirect
39+
github.com/prometheus/common v0.31.1 // indirect
40+
github.com/prometheus/procfs v0.6.0 // indirect
2841
github.com/tklauser/go-sysconf v0.3.9 // indirect
42+
github.com/tklauser/numcpus v0.3.0 // indirect
43+
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
44+
github.com/xdg-go/scram v1.0.2 // indirect
45+
github.com/xdg-go/stringprep v1.0.2 // indirect
46+
github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d // indirect
2947
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect
3048
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
3149
golang.org/x/sys v0.0.0-20211013075003-97ac67df715c // indirect
3250
golang.org/x/text v0.3.7 // indirect
3351
google.golang.org/protobuf v1.27.1 // indirect
52+
gopkg.in/alecthomas/kingpin.v2 v2.2.6 // indirect
3453
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
54+
gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 // indirect
55+
gopkg.in/yaml.v2 v2.4.0 // indirect
56+
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
3557
)

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ type GlobalFlags struct {
5353

5454
CollectAll bool `name:"collect-all" help:"Enable all collectors. Same as specifying all --collector.<name>"`
5555

56-
CollStatsLimit int `name:"collector.collstats-limit" help:"Disable collstats and indexstats collector if there are more than <n> collections. 0=No limit" default:"0"`
56+
CollStatsLimit int `name:"collector.collstats-limit" help:"Disable collstats, dbstat, topmetrics and indexstats collector if there are more than <n> collections. 0=No limit" default:"0"`
5757

5858
DiscoveringMode bool `name:"discovering-mode" help:"Enable autodiscover collections" negatable:""`
5959
CompatibleMode bool `name:"compatible-mode" help:"Enable old mongodb-exporter compatible metrics" negatable:""`

0 commit comments

Comments
 (0)