drop cpu_time_* from procstat by default

This commit is contained in:
Cameron Sparr 2016-04-04 15:16:58 -06:00
parent 357849c348
commit 081e91cc9c
2 changed files with 4 additions and 0 deletions

View File

@ -894,6 +894,8 @@
#
# ## Field name prefix
# prefix = ""
# ## comment this out if you want raw cpu_time stats
# fielddrop = ["cpu_time_*"]
# # Read metrics from one or many prometheus clients

View File

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