Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for Stats (0.14 sec)

  1. cmd/bucket-stats.go

    }
    
    func newBucketReplicationStats() *BucketReplicationStats {
    	return &BucketReplicationStats{
    		Stats: make(map[string]*BucketReplicationStat),
    	}
    }
    
    // Empty returns true if there are no target stats
    func (brs *BucketReplicationStats) Empty() bool {
    	return len(brs.Stats) == 0 && brs.ReplicaSize == 0
    }
    
    // Clone creates a new BucketReplicationStats copy
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  2. cmd/http-stats.go

    		return 0
    	}
    
    	stats.RLock()
    	defer stats.RUnlock()
    
    	val, ok := stats.apiStats[api]
    	if ok {
    		return val
    	}
    
    	return 0
    }
    
    // Load returns the recorded stats.
    func (stats *HTTPAPIStats) Load(toLower bool) map[string]int {
    	if stats == nil {
    		return map[string]int{}
    	}
    
    	stats.RLock()
    	defer stats.RUnlock()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  3. cmd/bucket-replication-stats.go

    	if len(r.mostRecentStats.Stats) == 0 {
    		r.mostRecentStats = BucketStatsMap{Stats: make(map[string]BucketStats, 1), Timestamp: UTCNow()}
    	}
    	if len(bs.ReplicationStats.Stats) > 0 {
    		r.mostRecentStats.Stats[bucket] = bs
    	}
    	r.mostRecentStats.Timestamp = UTCNow()
    	r.mostRecentStatsMu.Unlock()
    	return bs
    }
    
    // get the most current of in-memory replication stats  and data usage info from crawler.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  4. cmd/bucket-stats_gen_test.go

    Poorna <******@****.***> 1693382459 -0700
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Aug 30 08:00:59 GMT 2023
    - 20.5K bytes
    - Viewed (0)
  5. internal/s3select/message.go

    }
    
    // newStatsMessage - creates new Stats Message. S3 sends this message at the end of the request.
    // It contains statistics about the query.
    //
    // Header specification:
    // Stats messages contain three headers, as follows:
    // https://docs.aws.amazon.com/AmazonS3/latest/API/images/s3select-frame-diagram-stats.png
    //
    // Payload specification:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 15.2K bytes
    - Viewed (0)
  6. cmd/metrics-resource.go

    			}
    			if hm.Mem != nil && len(hm.Mem.Info.Addr) > 0 {
    				labels := map[string]string{}
    				stats := hm.Mem.Info
    				updateResourceMetrics(memSubsystem, total, float64(stats.Total), labels, false)
    				updateResourceMetrics(memSubsystem, memUsed, float64(stats.Used), labels, false)
    				perc := math.Round(float64(stats.Used*100*100)/float64(stats.Total)) / 100
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  7. cmd/bucket-lifecycle.go

    func (es *expiryState) enqueueTierJournalEntry(je jentry) {
    	wrkr := es.getWorkerCh(je.OpHash())
    	if wrkr == nil {
    		es.stats.missedTierJournalTasks.Add(1)
    		return
    	}
    	select {
    	case <-GlobalContext.Done():
    	case wrkr <- je:
    	default:
    		es.stats.missedTierJournalTasks.Add(1)
    	}
    }
    
    // enqueueFreeVersion enqueues a free version to be deleted
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  8. cmd/metrics.go

    // It creates the Prometheus Description which is used
    // to define metric and  help string
    func newMinioCollector() *minioCollector {
    	return &minioCollector{
    		desc: prometheus.NewDesc("minio_stats", "Statistics exposed by MinIO server", nil, nil),
    	}
    }
    
    // minioCollector is the Custom Collector
    type minioCollector struct {
    	desc *prometheus.Desc
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  9. cmd/globals.go

    	globalDriveMonitoring = env.Get("_MINIO_DRIVE_ACTIVE_MONITORING", config.EnableOn) == config.EnableOn
    
    	// Is MINIO_CI_CD set?
    	globalIsCICD bool
    
    	globalRootDiskThreshold uint64
    
    	// Used for collecting stats for netperf
    	globalNetPerfMinDuration     = time.Second * 10
    	globalNetPerfRX              netPerfRX
    	globalSiteNetPerfRX          netPerfRX
    	globalObjectPerfBucket       = "minio-perf-test-tmp-bucket"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  10. internal/grid/grid_test.go

    		runtime.Gosched()
    		stats := c.Stats()
    		if stats.IncomingStreams != 0 {
    			if i > 0 {
    				time.Sleep(100 * time.Millisecond)
    				continue
    			}
    			var found []uint64
    			c.inStream.Range(func(key uint64, value *muxServer) bool {
    				found = append(found, key)
    				return true
    			})
    			t.Errorf("expected no active streams, got %d incoming: %v", stats.IncomingStreams, found)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:03:35 GMT 2024
    - 30.1K bytes
    - Viewed (0)
Back to top