Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ByDisk (0.05 sec)

  1. cmd/metrics-realtime.go

    		byHostName = globalLocalNodeName
    	}
    
    	if types.Contains(madmin.MetricsDisk) {
    		m.ByDisk = make(map[string]madmin.DiskMetric)
    		aggr := madmin.DiskMetric{
    			CollectedAt: time.Now(),
    		}
    		for name, disk := range collectLocalDisksMetrics(opts.disks) {
    			m.ByDisk[name] = disk
    			aggr.Merge(&disk)
    		}
    		m.Aggregated.Disk = &aggr
    	}
    
    	if types.Contains(madmin.MetricsScanner) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 01 05:16:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. cmd/metrics-v3-system-drive.go

    		hosts: map[string]struct{}{
    			globalLocalNodeName: {},
    		},
    	})
    
    	stats := map[string]madmin.DiskIOStats{}
    	for d, m := range driveRealtimeMetrics.ByDisk {
    		stats[d] = m.IOStats
    	}
    	return stats
    }
    
    func (m *MetricValues) setDriveBasicMetrics(drive madmin.Disk, labels []string) {
    	m.Set(driveUsedBytes, float64(drive.UsedSpace), labels...)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun May 12 17:23:50 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. cmd/metrics-resource.go

    	updateResourceMetrics(driveSubsystem, percUtil, float64(diffStats.TotalTicks)/(diffInSeconds*10), labels, false)
    }
    
    func collectDriveMetrics(m madmin.RealtimeMetrics) {
    	latestDriveStatsMu.Lock()
    	for d, dm := range m.ByDisk {
    		labels := map[string]string{"drive": d}
    		latestStats, ok := latestDriveStats[d]
    		if !ok {
    			latestDriveStats[d] = dm.IOStats
    			continue
    		}
    		updateDriveIOStats(dm.IOStats, latestStats, labels)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 23:30:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    			hosts: hostMap,
    			disks: diskMap,
    			jobID: jobID,
    			depID: dID,
    		})
    		cancel()
    		m.Merge(&mRemote)
    		if !byHost {
    			m.ByHost = nil
    		}
    		if !byDisk {
    			m.ByDisk = nil
    		}
    
    		m.Final = n <= 1
    
    		// Marshal API reesponse
    		if err := enc.Encode(&m); err != nil {
    			n = 0
    		}
    
    		n--
    		if n <= 0 {
    			break
    		}
    
    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