Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top