Skip to content

Commit

Permalink
export: add process name tag
Browse files Browse the repository at this point in the history
  • Loading branch information
fanyang89 committed Nov 10, 2023
1 parent 88ca82a commit 7f441dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tcpmon/export/influxdb/metric_conv.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ func (c *MetricConv) Tcp(metric *gproto.TcpMetric) []*write.Point {
}), ";")
if processText != "" {
tags["Process"] = processText
tags["ProcessName"] = s.GetProcesses()[0].GetName()
}

for _, timer := range s.GetTimers() {
Expand Down

0 comments on commit 7f441dd

Please sign in to comment.