- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for updateHTTPStats (0.06 seconds)
-
cmd/http-tracer_test.go
wg.Add(1) go func(id int) { defer wg.Done() bucketName := "test-bucket" for range opsPerGoroutine { bucketStats.updateHTTPStats(bucketName, "GetObject", nil) recorder := &xhttp.ResponseRecorder{} bucketStats.updateHTTPStats(bucketName, "GetObject", recorder) _ = bucketStats.load(bucketName) } }(i) } wg.Wait() stats := bucketStats.load("test-bucket")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.3K bytes - Click Count (0) -
cmd/handler-utils.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.4K bytes - Click Count (1) -
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
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Sep 24 17:13:00 GMT 2024 - 11.4K bytes - Click Count (0)