Skip to content

Commit

Permalink
Rename heap_objects_bytes to heap_objects in internal plugin.
Browse files Browse the repository at this point in the history
This field does not contain bytes

fixes #2671
  • Loading branch information
danielnelson committed Apr 14, 2017
1 parent b90a5b4 commit c5668b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/inputs/internal/internal.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (s *Self) Gather(acc telegraf.Accumulator) error {
"heap_idle_bytes": m.HeapIdle, // bytes in idle spans
"heap_in_use_bytes": m.HeapInuse, // bytes in non-idle span
"heap_released_bytes": m.HeapReleased, // bytes released to the OS
"heap_objects_bytes": m.HeapObjects, // total number of allocated objects
"heap_objects": m.HeapObjects, // total number of allocated objects
"num_gc": m.NumGC,
}
acc.AddFields("internal_memstats", fields, map[string]string{})
Expand Down

0 comments on commit c5668b4

Please sign in to comment.