Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newHTTPStats (0.11 sec)

  1. cmd/http-stats.go

    		if code >= http.StatusInternalServerError {
    			st.totalS35xxErrors.Inc(api)
    		} else {
    			st.totalS34xxErrors.Inc(api)
    		}
    	}
    }
    
    // Prepare new HTTPStats structure
    func newHTTPStats() *HTTPStats {
    	return &HTTPStats{}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 06:25:13 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. cmd/globals.go

    	// The global cache config
    	globalCacheConfig cache.Config
    
    	// Global server's network statistics
    	globalConnStats = newConnStats()
    
    	// Global HTTP request statistics
    	globalHTTPStats = newHTTPStats()
    
    	// Global bucket network and API statistics
    	globalBucketConnStats = newBucketConnStats()
    	globalBucketHTTPStats = newBucketHTTPStats()
    
    	// Time when the server is started
    	globalBootTime = UTCNow()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top