drop cpu_time_* from procstat by default
This commit is contained in:
parent
357849c348
commit
081e91cc9c
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue