Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for objectsCount (0.11 sec)

  1. cmd/metrics.go

    			prometheus.NewDesc(
    				prometheus.BuildFQName(bucketNamespace, "objects", "count"),
    				"Total number of objects in a bucket",
    				[]string{"bucket"}, nil),
    			prometheus.GaugeValue,
    			float64(usageInfo.ObjectsCount),
    			bucket,
    		)
    		ch <- prometheus.MustNewConstMetric(
    			prometheus.NewDesc(
    				prometheus.BuildFQName("bucket", "replication", "successful_size"),
    				"Total capacity replicated to destination",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users.go

    		rd, wr := isAllowedAccess(bucket.Name)
    		if rd || wr {
    			// Fetch the data usage of the current bucket
    			bui := globalBucketQuotaSys.GetBucketUsageInfo(ctx, bucket.Name)
    			size := bui.Size
    			objectsCount := bui.ObjectsCount
    			objectsHist := bui.ObjectSizesHistogram
    			versionsHist := bui.ObjectVersionsHistogram
    
    			// Fetch the prefix usage of the current bucket
    			var prefixUsage map[string]uint64
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  3. cmd/data-usage-cache.go

    		e := d.find(bucket.Name)
    		if e == nil {
    			continue
    		}
    		flat := d.flatten(*e)
    		bui := BucketUsageInfo{
    			Size:                    uint64(flat.Size),
    			VersionsCount:           flat.Versions,
    			ObjectsCount:            flat.Objects,
    			DeleteMarkersCount:      flat.DeleteMarkers,
    			ObjectSizesHistogram:    flat.ObjSizes.toMap(),
    			ObjectVersionsHistogram: flat.ObjVersions.toMap(),
    		}
    		dst[bucket.Name] = bui
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  4. cmd/metrics-v2.go

    		clusterVersionsHistogram := map[string]uint64{}
    		for _, usage := range dataUsageInfo.BucketsUsage {
    			clusterBuckets++
    			clusterSize += usage.Size
    			clusterObjectsCount += usage.ObjectsCount
    			clusterVersionsCount += usage.VersionsCount
    			clusterDeleteMarkersCount += usage.DeleteMarkersCount
    			for k, v := range usage.ObjectSizesHistogram {
    				v1, ok := clusterObjectSizesHistogram[k]
    				if !ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    			cache := dataUsageCache{}
    			if err := cache.load(ctx, z.serverPools[d.PoolIndex].sets[d.SetIndex], dataUsageCacheName); err == nil {
    				dataUsageInfo := cache.dui(dataUsageRoot, nil)
    				erasureSet.ObjectsCount = dataUsageInfo.ObjectsTotalCount
    				erasureSet.VersionsCount = dataUsageInfo.VersionsTotalCount
    				erasureSet.DeleteMarkersCount = dataUsageInfo.DeleteMarkersTotalCount
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top