Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for BucketStats (0.04 sec)

  1. cmd/http-tracer_test.go

    				bucketStats.updateHTTPStats(bucketName, "GetObject", recorder)
    				_ = bucketStats.load(bucketName)
    			}
    		}(i)
    	}
    	wg.Wait()
    
    	stats := bucketStats.load("test-bucket")
    	if stats.totalS3Requests == nil {
    		t.Error("Expected bucket stats to be initialized")
    	}
    	t.Logf("Bucket HTTP stats race test passed")
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. internal/bucket/bandwidth/monitor_test.go

    			got = m.GetReport(SelectBuckets())
    			if !reflect.DeepEqual(got.BucketStats, tt.want2.BucketStats) {
    				t.Errorf("GetReport() = %v, want %v", got.BucketStats, tt.want2.BucketStats)
    			}
    		})
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. internal/bucket/bandwidth/monitor.go

    	CurrentBandwidthInBytesPerSecond float64 `json:"currentBandwidth"`
    }
    
    // BucketBandwidthReport captures the details for all buckets.
    type BucketBandwidthReport struct {
    	BucketStats map[BucketOptions]Details `json:"bucketStats,omitempty"`
    }
    
    // GetReport gets the report for all bucket bandwidth details.
    func (m *Monitor) GetReport(selectBucket SelectionFunction) *BucketBandwidthReport {
    	m.mlock.RLock()
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top