Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for updateHTTPStats (0.49 sec)

  1. cmd/handler-utils.go

    		countBktStat := bucket != "" && bucket != minioReservedBucket && err == nil && !meta.Created.IsZero()
    		if countBktStat {
    			globalBucketHTTPStats.updateHTTPStats(bucket, api, nil)
    		}
    
    		globalHTTPStats.currentS3Requests.Inc(api)
    		f.ServeHTTP(w, r)
    		globalHTTPStats.currentS3Requests.Dec(api)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.3K bytes
    - Viewed (1)
  2. cmd/http-stats.go

    	}
    }
    
    func (bh *bucketHTTPStats) delete(bucket string) {
    	bh.Lock()
    	defer bh.Unlock()
    
    	delete(bh.httpStats, bucket)
    }
    
    func (bh *bucketHTTPStats) updateHTTPStats(bucket, api string, w *xhttp.ResponseRecorder) {
    	if bh == nil {
    		return
    	}
    
    	if w != nil {
    		// Increment the prometheus http request response histogram with API, Bucket
    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