Skip to content

Commit

Permalink
fixing comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Paramadon committed Sep 27, 2024
1 parent 3d0fd69 commit d70182c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugins/inputs/procstat/procstat.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,10 @@ func (p *Procstat) addMetric(proc Process, acc telegraf.Accumulator, t time.Time
if err == nil {
fields[prefix+"memory_rss"] = mem.RSS
fields[prefix+"memory_vms"] = mem.VMS
fields[prefix+"memory_swap"] = mem.Swap
fields[prefix+"memory_data"] = mem.Data
fields[prefix+"memory_stack"] = mem.Stack
fields[prefix+"memory_locked"] = mem.Locked
}

collectMemmap(proc, prefix, fields)
Expand Down

0 comments on commit d70182c

Please sign in to comment.