Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for totalWrites (0.11 sec)

  1. cmd/xl-storage-disk-id-check.go

    	}
    
    	si := p.updateStorageMetrics(storageMetricDiskInfo)
    	defer si(0, &err)
    
    	if opts.NoOp {
    		if opts.Metrics {
    			info.Metrics = p.getMetrics()
    		}
    		info.Metrics.TotalWrites = p.totalWrites.Load()
    		info.Metrics.TotalDeletes = p.totalDeletes.Load()
    		info.Metrics.TotalWaiting = uint32(p.health.waiting.Load())
    		info.Metrics.TotalErrorsTimeout = p.totalErrsTimeout.Load()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  2. cmd/storage-datatypes.go

    	TotalErrorsAvailability uint64             `json:"totalErrsAvailability"`
    	TotalErrorsTimeout      uint64             `json:"totalErrsTimeout"`
    	TotalWrites             uint64             `json:"totalWrites"`
    	TotalDeletes            uint64             `json:"totalDeletes"`
    }
    
    // VolsInfo is a collection of volume(bucket) information
    type VolsInfo []VolInfo
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. cmd/storage-datatypes_gen.go

    			z.TotalErrorsTimeout, err = dc.ReadUint64()
    			if err != nil {
    				err = msgp.WrapError(err, "TotalErrorsTimeout")
    				return
    			}
    		case "TotalWrites":
    			z.TotalWrites, err = dc.ReadUint64()
    			if err != nil {
    				err = msgp.WrapError(err, "TotalWrites")
    				return
    			}
    		case "TotalDeletes":
    			z.TotalDeletes, err = dc.ReadUint64()
    			if err != nil {
    				err = msgp.WrapError(err, "TotalDeletes")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 130.6K bytes
    - Viewed (0)
  4. cmd/metacache-set.go

    	deletes := make([]uint64, len(infos))
    	writes := make([]uint64, len(infos))
    	for index, di := range infos {
    		deletes[index] = di.Metrics.TotalDeletes
    		writes[index] = di.Metrics.TotalWrites
    	}
    
    	filter := func(list []uint64) (commonCount uint64) {
    		max := 0
    		signatureMap := map[uint64]int{}
    		for _, v := range list {
    			signatureMap[v]++
    		}
    		for ops, count := range signatureMap {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 22:18:44 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  5. cmd/metrics-v3-cache.go

    		onlineDrives, offlineDrives := getOnlineOfflineDisksStats(storageInfo.Disks)
    		totalDrives := onlineDrives.Merge(offlineDrives)
    
    		v = storageMetrics{
    			storageInfo:   storageInfo,
    			onlineDrives:  onlineDrives.Sum(),
    			offlineDrives: offlineDrives.Sum(),
    			totalDrives:   totalDrives.Sum(),
    			ioStats:       map[string]driveIOStatMetrics{},
    		}
    
    		currentStats := getCurrentDriveIOStats()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. cmd/metrics-v3-cluster-health.go

    	m.Set(healthDrivesOfflineCount, float64(clusterDriveMetrics.offlineDrives))
    	m.Set(healthDrivesOnlineCount, float64(clusterDriveMetrics.onlineDrives))
    	m.Set(healthDrivesCount, float64(clusterDriveMetrics.totalDrives))
    
    	return nil
    }
    
    const (
    	healthNodesOfflineCount = "nodes_offline_count"
    	healthNodesOnlineCount  = "nodes_online_count"
    )
    
    var (
    	healthNodesOfflineCountMD = NewGaugeMD(healthNodesOfflineCount,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. cmd/metrics-v3-system-drive.go

    		}
    		m.setDriveAPIMetrics(disk, labels)
    	}
    
    	m.Set(driveOfflineCount, float64(driveMetrics.offlineDrives))
    	m.Set(driveOnlineCount, float64(driveMetrics.onlineDrives))
    	m.Set(driveCount, float64(driveMetrics.totalDrives))
    
    	return nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 12 17:23:50 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. cmd/metrics-v2.go

    		objLayer := newObjectLayerFn()
    
    		metrics = make([]MetricV2, 0, 50)
    		storageInfo := objLayer.LocalStorageInfo(ctx, true)
    		onlineDrives, offlineDrives := getOnlineOfflineDisksStats(storageInfo.Disks)
    		totalDrives := onlineDrives.Merge(offlineDrives)
    
    		for _, disk := range storageInfo.Disks {
    			metrics = append(metrics, MetricV2{
    				Description:    getNodeDriveUsedBytesMD(),
    				Value:          float64(disk.UsedSpace),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    	if err != nil {
    		// We start off with '0' if we can read the attributes
    		return 0
    	}
    	return binary.LittleEndian.Uint64(buf[:8])
    }
    
    func (s *xlStorage) getWriteAttribute() uint64 {
    	attr := "user.total_writes"
    	buf, err := xattr.LGet(s.formatFile, attr)
    	if err != nil {
    		// We start off with '0' if we can read the attributes
    		return 0
    	}
    
    	return binary.LittleEndian.Uint64(buf[:8])
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (2)
Back to top