Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for toServerConnStats (0.24 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
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 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"),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
Back to top