Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for MetricType (0.3 sec)

  1. pkg/controller/podautoscaler/horizontal_test.go

    	}
    
    	for metricType, l := range tc.expectedReportedMetricComputationActionLabels {
    		_, ok := m.metricComputationActionLabels[metricType]
    		if !ok {
    			t.Fatalf("the metric computation action should be recorded with metricType %s, but actually nothing was recorded", metricType)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    				}
    			} else {
    				out <- pmetric
    			}
    		}
    		return
    	}
    	metricType := prometheus.GaugeValue
    	if metric.Description.Type == counterMetric {
    		metricType = prometheus.CounterValue
    	}
    	pmetric, err := prometheus.NewConstMetric(
    		prometheus.NewDesc(
    			prometheus.BuildFQName(string(metric.Description.Namespace),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    		interval = defaultMetricsInterval
    	}
    
    	n, err := strconv.Atoi(r.Form.Get("n"))
    	if err != nil || n <= 0 {
    		n = math.MaxInt32
    	}
    
    	var types madmin.MetricType
    	if t, _ := strconv.ParseUint(r.Form.Get("types"), 10, 64); t != 0 {
    		types = madmin.MetricType(t)
    	} else {
    		types = madmin.MetricsAll
    	}
    
    	disks := strings.Split(r.Form.Get("disks"), ",")
    	byDisk := strings.EqualFold(r.Form.Get("by-disk"), "true")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
Back to top