code: func (c *nfsdCollector) updateNFSdNetworkStats(ch chan<- prometheus.Metric, s *nfs.Network) {
  	packetDesc := prometheus.NewDesc(
  		prometheus.BuildFQName(namespace, nfsdSubsystem, "packets_total"),
  		"Total NFSd network packets (sent+received) by protocol type.",
  		[]string{"proto"},
  		nil,
  	)
  	ch <- prometheus.MustNewConstMetric(
  		packetDesc,
  		prometheus.CounterValue,
  		float64(s.UDPCount), "udp")
  	ch <- prometheus.MustNewConstMetric(
  		packetDesc,
  		prometheus.CounterValue,
  		float64(s.TCPCount), "tcp")
  	ch <- prometheus.MustNewConstMetric(
  		prometheus.NewDesc(
  			prometheus.BuildFQName(namespace, nfsdSubsystem, "connections_total"),
  			"Total number of NFSd TCP connections.",
  			nil,
  			nil,
  		),
  		prometheus.CounterValue,
  		float64(s.TCPConnect))
  }
docs: // updateNFSdNetworkStats collects statistics for network packets/connections.