Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for CH (0.15 sec)

  1. cmd/metrics-v2.go

    	ch := make(chan prometheus.Metric)
    	go func() {
    		defer xioutil.SafeClose(ch)
    		// Collects prometheus metrics from hist and sends it over ch
    		hist.Collect(ch)
    	}()
    
    	// Converts metrics received into internal []Metric type
    	var metrics []MetricV2
    	for promMetric := range ch {
    		dtoMetric := &dto.Metric{}
    		err := promMetric.Write(dtoMetric)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    			case v := <-updateCloser:
    				update()
    				xioutil.SafeClose(v)
    				return
    			case <-updateTicker.C:
    				update()
    			}
    		}
    	}()
    
    	wg.Wait()
    	ch := make(chan struct{})
    	select {
    	case updateCloser <- ch:
    		<-ch
    	case <-ctx.Done():
    		mu.Lock()
    		if firstErr == nil {
    			firstErr = ctx.Err()
    		}
    		defer mu.Unlock()
    	}
    	return firstErr
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  3. cmd/metrics-resource.go

    	metricsGroups []*MetricsGroupV2
    	desc          *prometheus.Desc
    }
    
    // Describe sends the super-set of all possible descriptors of metrics
    func (c *minioResourceCollector) Describe(ch chan<- *prometheus.Desc) {
    	ch <- c.desc
    }
    
    // Collect is called by the Prometheus registry when collecting metrics.
    func (c *minioResourceCollector) Collect(out chan<- prometheus.Metric) {
    	var wg sync.WaitGroup
    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)
  4. cmd/iam.go

    	// Watch for IAM config changes for iamStorageWatcher.
    	watcher, isWatcher := sys.store.IAMStorageAPI.(iamStorageWatcher)
    	if isWatcher {
    		go func() {
    			ch := watcher.watch(ctx, iamConfigPrefix)
    			for event := range ch {
    				if err := sys.loadWatchedEvent(ctx, event); err != nil {
    					// we simply log errors
    					iamLogIf(ctx, fmt.Errorf("Failure in loading watch event: %v", err), logger.WarningKind)
    				}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  5. cmd/bucket-replication.go

    		}
    		return
    	}
    
    	var ch, healCh chan<- ReplicationWorkerOperation
    	switch ri.OpType {
    	case replication.HealReplicationType, replication.ExistingObjectReplicationType:
    		ch = p.mrfReplicaCh
    		healCh = p.getWorkerCh(ri.Name, ri.Bucket, ri.Size)
    	default:
    		ch = p.getWorkerCh(ri.Name, ri.Bucket, ri.Size)
    	}
    	if ch == nil && healCh == nil {
    		return
    	}
    
    	select {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  6. cmd/testdata/undeleteable-object.tgz

    ¨CSumAlgo ¨PartNums‘ ©PartETagsÀ©PartSizes‘Ñ ŠªPartASizes‘Ñ Š¤SizeÑ Š¥MTimeÓ É žÕô §MetaSys ¼x-minio-internal-inline-dataÄ true§MetaUsr‚¤etagÙ 481841022d5df9056cb9¬content-type¸application/octet-stream¡v Φ“í ¤nullÄ4þãšh2ÙQTÑÞ´’· Ú ø@-•)kë [Šå Íp" Â¥Cache ˆ¢ch ¢sz ¢os multisitea/data/disterasure/xl5/.minio.sys/buckets/bucket/.usage-cache.bin/xl.meta XL2 Æ } Ä$•Ä Ó É ž³í Ä -˜•K Å Qƒ¤Type ¥V2ObjÞ ¢IDÄ ¤DDirÄ ï/b‘ ·C¾—ÕÌx3Áà ¦EcAlgo £EcM £EcN §EcBSizeÒ §EcIndex ¦EcDistœ ¨CSumAlgo ¨PartNums‘ ©PartETagsÀ©PartSizes‘Ñ...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 8.7M bytes
    - Viewed (0)
  7. cmd/data-usage-cache.go

    }
    
    // Create a clone of the entry.
    func (e dataUsageEntry) clone() dataUsageEntry {
    	// We operate on a copy from the receiver.
    	if e.Children != nil {
    		ch := make(dataUsageHashMap, len(e.Children))
    		for k, v := range e.Children {
    			ch[k] = v
    		}
    		e.Children = ch
    	}
    	if e.ReplicationStats != nil {
    		// Clone ReplicationStats
    		e.ReplicationStats = e.ReplicationStats.clone()
    	}
    	if e.AllTierStats != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  8. cmd/metrics-v3-types.go

    }
    
    // Describe - implements prometheus.Collector interface.
    func (mg *MetricsGroup) Describe(ch chan<- *prometheus.Desc) {
    	for _, desc := range mg.Descriptors {
    		ch <- desc.toPromDesc(mg.CollectorPath.metricPrefix(), mg.ExtraLabels)
    	}
    }
    
    // Collect - implements prometheus.Collector interface.
    func (mg *MetricsGroup) Collect(ch chan<- prometheus.Metric) {
    	metricValues := newMetricValues(mg.descriptorMap)
    
    	var err error
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:05:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    		<-ctx.Done()
    		globalNotificationSys.ServiceFreeze(ctx, false)
    	}()
    
    	keepAliveTicker := time.NewTicker(500 * time.Millisecond)
    	defer keepAliveTicker.Stop()
    
    	enc := json.NewEncoder(w)
    	ch := objectSpeedTest(ctx, speedTestOpts{
    		objectSize:       size,
    		concurrencyStart: concurrent,
    		duration:         duration,
    		autotune:         autotune,
    		storageClass:     storageClass,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
Back to top