Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for Cedric (0.13 sec)

  1. pkg/controller/podautoscaler/replica_calculator_test.go

    			t.Fatal("Metric specified as objectMetric but metric.singleObject is nil.")
    		}
    		outReplicas, outUsage, outTimestamp, err = replicaCalc.GetObjectPerPodMetricReplicas(tc.currentReplicas, tc.metric.perPodTargetUsage, tc.metric.name, testNamespace, tc.metric.singleObject, nil)
    	case externalMetric:
    		if tc.metric.selector == nil {
    			t.Fatal("Metric specified as externalMetric but metric.selector is nil.")
    		}
    		if tc.metric.targetUsage <= 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 68.4K bytes
    - Viewed (0)
  2. pkg/controller/podautoscaler/horizontal.go

    		}
    		*status = autoscalingv2.MetricStatus{
    			Type: autoscalingv2.ObjectMetricSourceType,
    			Object: &autoscalingv2.ObjectMetricStatus{
    				Metric: autoscalingv2.MetricIdentifier{
    					Name:     metricSpec.Object.Metric.Name,
    					Selector: metricSpec.Object.Metric.Selector,
    				},
    				Current: autoscalingv2.MetricValueStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  3. pkg/apis/autoscaling/validation/validation_test.go

    					Pods: &autoscaling.PodsMetricSource{
    						Metric: autoscaling.MetricIdentifier{},
    						Target: autoscaling.MetricTarget{
    							Type:         autoscaling.ValueMetricType,
    							AverageValue: resource.NewMilliQuantity(100, resource.DecimalSI),
    						},
    					},
    				}},
    			},
    		},
    		msg: "must specify a metric name",
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  4. docs/metrics/prometheus/grafana/minio-dashboard.json

              "format": "time_series",
              "instant": true,
              "interval": "",
              "intervalFactor": 1,
              "legendFormat": "{{instance}}",
              "metric": "process_start_time_seconds",
              "refId": "A",
              "step": 60
            }
          ],
          "title": "Uptime",
          "type": "stat"
        },
        {
          "datasource": {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 15 10:03:01 UTC 2024
    - 93K bytes
    - Viewed (0)
  5. pilot/pkg/model/push_context.go

    }
    
    // AddMetric will add an case to the metric.
    func (ps *PushContext) AddMetric(metric monitoring.Metric, key string, proxyID, msg string) {
    	if ps == nil {
    		log.Infof("Metric without context %s %v %s", key, proxyID, msg)
    		return
    	}
    	ps.proxyStatusMutex.Lock()
    	defer ps.proxyStatusMutex.Unlock()
    
    	metricMap, f := ps.ProxyStatus[metric.Name()]
    	if !f {
    		metricMap = map[string]ProxyPushStatus{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go

    			continue
    		}
    
    		familyMatch = true
    		for _, metric := range mf.GetMetric() {
    			if !testutil.LabelsMatch(metric, labelFilter) {
    				continue
    			}
    
    			labelMatch = true
    			sum += int(metric.GetGauge().GetValue())
    		}
    	}
    	if !familyMatch {
    		return fmt.Errorf("expected to find the metric family: %s in the gathered result", name)
    	}
    	if !labelMatch {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/runtime/framework.go

    			FilterPlugin: f.filterPlugins[i],
    			metric:       metrics.PluginEvaluationTotal.WithLabelValues(pl.Name(), metrics.Filter, f.profileName),
    		}
    	}
    
    	// Cache metric streams for prescore and score plugins.
    	for i, pl := range f.preScorePlugins {
    		f.preScorePlugins[i] = &instrumentedPreScorePlugin{
    			PreScorePlugin: f.preScorePlugins[i],
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  8. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    	verifyNewDetacherCallCount(t, false /* expectZeroNewDetacherCallCount */, fakePlugin)
    	waitForDetachCallCount(t, 1 /* expectedDetachCallCount */, fakePlugin)
    
    	// Force detach metric due to timeout
    	testForceDetachMetric(t, 1, metrics.ForceDetachReasonTimeout)
    }
    
    // Populates desiredStateOfWorld cache with one node/volume/pod tuple.
    // Has node update fail
    // Calls Run()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/listener.go

    	}
    }
    
    type outboundListenerConflict struct {
    	metric          monitoring.Metric
    	node            *model.Proxy
    	listenerName    string
    	currentProtocol protocol.Instance
    	newHostname     host.Name
    	newProtocol     protocol.Instance
    }
    
    func (c outboundListenerConflict) addMetric(metrics model.Metrics) {
    	metrics.AddMetric(c.metric,
    		c.listenerName,
    		c.node.ID,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.31.md

    - Expose apiserver_watch_cache_resource_version metric to simplify debugging problems with watchcache. ([#125377](https://github.com/kubernetes/kubernetes/pull/125377), [@wojtek-t](https://github.com/wojtek-t)) [SIG API Machinery and Instrumentation]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:34:14 UTC 2024
    - 60.3K bytes
    - Viewed (0)
Back to top