Skip to content

Commit

Permalink
Update collector/netstat_freebsd.go
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Kochie <[email protected]>
Signed-off-by: K Rin <[email protected]>
  • Loading branch information
Rin0913 and SuperQ authored Dec 18, 2024
1 parent 93cd34a commit 1df8f65
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions collector/netstat_freebsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ import "C"

var metricDescs = []*prometheus.Desc{
prometheus.NewDesc(
"tcp_send_packet_total",
"tcp_send_packet_total",
prometheus.BuildFQName(namespace, "netstat", "tcp_transmit_packets_total"),
"TCP packets sent",
nil, nil,
),
prometheus.NewDesc(
"tcp_recv_packet_total",
"tcp_recv_packet_total",
prometheus.BuildFQName(namespace, "netstat", "tcp_receive_packets_total"),
"TCP packets received",
nil, nil,
),
}
Expand Down

0 comments on commit 1df8f65

Please sign in to comment.