-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PMM-7 Add flag to enable collstats details and disable them by default. #997
base: main
Are you sure you want to change the base?
Conversation
@@ -70,7 +70,8 @@ type GlobalFlags struct { | |||
|
|||
CollectAll bool `name:"collect-all" help:"Enable all collectors. Same as specifying all --collector.<name>"` | |||
|
|||
CollStatsLimit int `name:"collector.collstats-limit" help:"Disable collstats, dbstats, topmetrics and indexstats collector if there are more than <n> collections. 0=No limit" default:"0"` | |||
CollStatsLimit int `name:"collector.collstats-limit" help:"Disable collstats, dbstats, topmetrics and indexstats collector if there are more than <n> collections. 0=No limit" default:"0"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [golangci-lint] reported by reviewdog 🐶
tag is not aligned, should be: default:"0" help:"Disable collstats, dbstats, topmetrics and indexstats collector if there are more than collections. 0=No limit" name:"collector.collstats-limit" (tagalign)
@@ -70,7 +70,8 @@ type GlobalFlags struct { | |||
|
|||
CollectAll bool `name:"collect-all" help:"Enable all collectors. Same as specifying all --collector.<name>"` | |||
|
|||
CollStatsLimit int `name:"collector.collstats-limit" help:"Disable collstats, dbstats, topmetrics and indexstats collector if there are more than <n> collections. 0=No limit" default:"0"` | |||
CollStatsLimit int `name:"collector.collstats-limit" help:"Disable collstats, dbstats, topmetrics and indexstats collector if there are more than <n> collections. 0=No limit" default:"0"` | |||
CollStatsEnableDetails bool `name:"collector.collstats-enable-details" help:"Enable collecting index details and wired tiger metrics from $collStats" default:"false"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [golangci-lint] reported by reviewdog 🐶
tag is not aligned, should be: default:"false" help:"Enable collecting index details and wired tiger metrics from $collStats" name:"collector.collstats-enable-details" (tagalign)
PMM-7 (optional, if ticket reported)
Below we provide a basic checklist of things that would make it a good PR:
Once all checks pass and the code is ready for review, please add
pmm-review-exporters
team as the reviewer. That would assign people from the review team automatically. Report any issues on our Forum.