drop cpu_time_* from procstat by default

closes #963
This commit is contained in:
Cameron Sparr 2016-04-04 15:16:58 -06:00 committed by Michele Fadda
parent a4f4fc9385
commit 37e45f8680
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,8 @@ var sampleConfig = `
## Field name prefix ## Field name prefix
prefix = "" prefix = ""
## comment this out if you want raw cpu_time stats
fielddrop = ["cpu_time_*"]
` `
func (_ *Procstat) SampleConfig() string { func (_ *Procstat) SampleConfig() string {