Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 548 for cedric (0.21 sec)

  1. common-protos/k8s.io/api/autoscaling/v2beta1/generated.proto

    }
    
    // ExternalMetricStatus indicates the current value of a global metric
    // not associated with any Kubernetes object.
    message ExternalMetricStatus {
      // metricName is the name of a metric used for autoscaling in
      // metric system.
      optional string metricName = 1;
    
      // metricSelector is used to identify a specific time series
      // within a given metric.
      // +optional
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/metrics/testutil_test.go

    		if mf.GetName() == name {
    			for _, metric := range mf.GetMetric() {
    				if testutil.LabelsMatch(metric, expectedLabels) {
    					gotLabelCount := len(metric.GetLabel())
    					wantLabelCount := len(expectedLabels)
    					if wantLabelCount != gotLabelCount {
    						t.Errorf("Got metric with %d labels, but wanted %d labels. Wanted %#+v for %s",
    							gotLabelCount, wantLabelCount, expectedLabels, metric.String())
    						continue
    					}
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 24 04:26:43 UTC 2020
    - 3.4K bytes
    - Viewed (0)
  3. pkg/scheduler/metrics/metric_recorder.go

    }
    
    // Dec decreases a metric counter by 1, in an atomic way
    func (r *PendingPodsRecorder) Dec() {
    	r.recorder.Dec()
    }
    
    // Clear set a metric counter to 0, in an atomic way
    func (r *PendingPodsRecorder) Clear() {
    	r.recorder.Set(float64(0))
    }
    
    // metric is the data structure passed in the buffer channel between the main framework thread
    // and the metricsRecorder goroutine.
    type metric struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 16 07:27:08 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. pkg/kubelet/server/stats/volume_stat_calculator.go

    	)
    
    	if metric.Available != nil {
    		available = uint64(metric.Available.Value())
    	}
    	if metric.Capacity != nil {
    		capacity = uint64(metric.Capacity.Value())
    	}
    	if metric.Used != nil {
    		used = uint64(metric.Used.Value())
    	}
    	if metric.Inodes != nil {
    		inodes = uint64(metric.Inodes.Value())
    	}
    	if metric.InodesFree != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 29 00:55:10 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  5. pkg/monitoring/monitortest/test.go

    func (m *MetricsTest) Metrics() []Metric {
    	m.t.Helper()
    	res, err := m.reg.Gather()
    	if err != nil {
    		m.t.Fatal(err)
    	}
    	metrics := []Metric{}
    	for _, metric := range res {
    		if len(metric.Metric) == 0 {
    			m.t.Logf("%v: no rows", *metric.Name)
    		}
    		for _, row := range metric.Metric {
    			m := Metric{Name: *metric.Name, Labels: map[string]string{}, Value: display(row)}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 13 16:04:48 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/autoscaling/v2beta2/generated.proto

    // ExternalMetricSource indicates how to scale on a metric not associated with
    // any Kubernetes object (for example length of queue in cloud
    // messaging service, or QPS from loadbalancer running outside of cluster).
    message ExternalMetricSource {
      // metric identifies the target metric by name and selector
      optional MetricIdentifier metric = 1;
    
      // target specifies the target value for the given metric
      optional MetricTarget target = 2;
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/autoscaling/v2/generated.proto

      optional MetricIdentifier metric = 3;
    }
    
    // ObjectMetricStatus indicates the current value of a metric describing a
    // kubernetes object (for example, hits-per-second on an Ingress object).
    message ObjectMetricStatus {
      // metric identifies the target metric by name and selector
      optional MetricIdentifier metric = 1;
    
      // current contains the current value for the given metric
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/autoscaling/v2/types_swagger_doc_generated.go

    	"":       "ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).",
    	"metric": "metric identifies the target metric by name and selector",
    	"target": "target specifies the target value for the given metric",
    }
    
    func (ExternalMetricSource) SwaggerDoc() map[string]string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 23:13:24 UTC 2023
    - 21.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/autoscaling/v2beta2/generated.proto

    // ExternalMetricSource indicates how to scale on a metric not associated with
    // any Kubernetes object (for example length of queue in cloud
    // messaging service, or QPS from loadbalancer running outside of cluster).
    message ExternalMetricSource {
      // metric identifies the target metric by name and selector
      optional MetricIdentifier metric = 1;
    
      // target specifies the target value for the given metric
      optional MetricTarget target = 2;
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. pkg/monitoring/disabled.go

    	name string
    }
    
    // Decrement implements Metric
    func (dm *disabledMetric) Decrement() {}
    
    // Increment implements Metric
    func (dm *disabledMetric) Increment() {}
    
    // Name implements Metric
    func (dm *disabledMetric) Name() string {
    	return dm.name
    }
    
    // Record implements Metric
    func (dm *disabledMetric) Record(value float64) {}
    
    // RecordInt implements Metric
    func (dm *disabledMetric) RecordInt(value int64) {}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top