Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for incInternodeInputBytes (0.35 sec)

  1. cmd/grid.go

    			RootCAs:          globalRootCAs,
    			CipherSuites:     fips.TLSCiphers(),
    			CurvePreferences: fips.TLSCurveIDs(),
    		},
    		// Record incoming and outgoing bytes.
    		Incoming: globalConnStats.incInternodeInputBytes,
    		Outgoing: globalConnStats.incInternodeOutputBytes,
    		TraceTo:  globalTrace,
    	})
    	if err != nil {
    		return err
    	}
    	globalGrid.Store(g)
    	return nil
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 2K bytes
    - Viewed (0)
  2. cmd/http-stats.go

    type connStats struct {
    	internodeInputBytes  uint64
    	internodeOutputBytes uint64
    	s3InputBytes         uint64
    	s3OutputBytes        uint64
    }
    
    // Increase internode total input bytes
    func (s *connStats) incInternodeInputBytes(n int64) {
    	atomic.AddUint64(&s.internodeInputBytes, uint64(n))
    }
    
    // Increase internode total output bytes
    func (s *connStats) incInternodeOutputBytes(n int64) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  3. cmd/handler-utils.go

    		f.ServeHTTP(w, r)
    
    		tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    		if !ok || tc == nil {
    			return
    		}
    
    		globalConnStats.incInternodeInputBytes(int64(tc.RequestRecorder.Size()))
    		globalConnStats.incInternodeOutputBytes(int64(tc.ResponseRecorder.Size()))
    	}
    }
    
    func collectAPIStats(api string, f http.HandlerFunc) http.HandlerFunc {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
Back to top