Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for lifetimeActions (0.22 sec)

  1. cmd/data-scanner-metric.go

    	if m >= scannerMetricLastRealtime {
    		return AccElem{}
    	}
    	val := p.latency[m].total()
    	return val
    }
    
    // lifetimeActions returns the lifetime count of the specified ilm metric.
    func (p *scannerMetrics) lifetimeActions(a lifecycle.Action) uint64 {
    	if a == lifecycle.NoneAction || a >= lifecycle.ActionCount {
    		return 0
    	}
    	val := atomic.LoadUint64(&p.actions[a])
    	return val
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 25 05:15:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    				},
    				Value: float64(globalScannerMetrics.lifetime(scannerMetricILM)),
    			},
    		}
    		for i := range globalScannerMetrics.actions {
    			action := lifecycle.Action(i)
    			v := globalScannerMetrics.lifetimeActions(action)
    			if v == 0 {
    				continue
    			}
    			metrics = append(metrics, MetricV2{
    				Description: MetricDescription{
    					Namespace: nodeMetricNamespace,
    					Subsystem: ilmSubsystem,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
Back to top