From 1f55ae7aabf9a179bdf9a94a7258741bf6fa0b24 Mon Sep 17 00:00:00 2001 From: Paramadon Date: Fri, 27 Sep 2024 14:55:35 -0400 Subject: [PATCH] removing memory_swap from init function --- plugins/inputs/procstat/procstat.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/plugins/inputs/procstat/procstat.go b/plugins/inputs/procstat/procstat.go index e9826412acc96..4d5828210a2d0 100644 --- a/plugins/inputs/procstat/procstat.go +++ b/plugins/inputs/procstat/procstat.go @@ -587,9 +587,6 @@ func (p *Procstat) Init() error { func init() { inputs.Add("procstat", func() telegraf.Input { - return &Procstat{ - Properties: []string{"mmap"}, - createProcess: NewProc, - } + return &Procstat{} }) }