Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for bucketStats (0.08 sec)

  1. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 06 03:21:59 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top