Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/globals.go

    	// The global drive config
    	globalDriveConfig drive.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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top