Skip to content

Commit

Permalink
put TCP orphan data in the proper place
Browse files Browse the repository at this point in the history
  • Loading branch information
fearful-symmetry committed May 13, 2019
1 parent 8b14f21 commit 9feeffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metricbeat/module/system/socket_summary/sockstat_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func applyEnhancements(data common.MapStr, m *MetricSet) (common.MapStr, error)
if err != nil {
return nil, errors.Wrap(err, "error getting sockstat data")
}
data.Put("tcp.orphan", stat.TCPOrphan)
data.Put("tcp.all.orphan", stat.TCPOrphan)
data.Put("tcp.memory", os.Getpagesize()*stat.TCPMem)
data.Put("udp.memory", os.Getpagesize()*stat.UDPMem)

Expand Down

0 comments on commit 9feeffc

Please sign in to comment.