Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for toServerConnStats (1.37 sec)

  1. cmd/http-stats.go

    func (s *connStats) getS3OutputBytes() uint64 {
    	return atomic.LoadUint64(&s.s3OutputBytes)
    }
    
    // Return connection stats (total input/output bytes and total s3 input/output bytes)
    func (s *connStats) toServerConnStats() serverConnStats {
    	return serverConnStats{
    		internodeInputBytes:  s.getInternodeInputBytes(),  // Traffic internode received
    		internodeOutputBytes: s.getInternodeOutputBytes(), // Traffic internode sent
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. cmd/metrics.go

    		)
    	}
    }
    
    // collects network metrics for MinIO server in Prometheus specific format
    // and sends to given channel
    func networkMetricsPrometheus(ch chan<- prometheus.Metric) {
    	connStats := globalConnStats.toServerConnStats()
    
    	// Network Sent/Received Bytes (internode)
    	ch <- prometheus.MustNewConstMetric(
    		prometheus.NewDesc(
    			prometheus.BuildFQName(interNodeNamespace, "tx", "bytes_total"),
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:06:31 UTC 2025
    - 16.7K bytes
    - Viewed (0)
Back to top