Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 273 for Cedric (0.18 sec)

  1. staging/src/k8s.io/api/autoscaling/v2/types.go

    	// metric identifies the target metric by name and selector
    	Metric MetricIdentifier `json:"metric" protobuf:"bytes,1,name=metric"`
    
    	// current contains the current value for the given metric
    	Current MetricValueStatus `json:"current" protobuf:"bytes,2,name=current"`
    }
    
    // MetricValueStatus holds the current value for a metric
    type MetricValueStatus struct {
    	// value is the current value of the metric (as a quantity).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  2. cluster/images/etcd-version-monitor/etcd-version-monitor.go

    	r := &dto.MetricFamily{}
    	r.Name = mf.Name
    	r.Help = mf.Help
    	r.Type = mf.Type
    	r.Metric = make([]*dto.Metric, len(mf.Metric))
    	for i, m := range mf.Metric {
    		r.Metric[i] = deepCopyMetric(m)
    	}
    	return r
    }
    
    func deepCopyMetric(m *dto.Metric) *dto.Metric {
    	r := &dto.Metric{}
    	r.Label = make([]*dto.LabelPair, len(m.Label))
    	for i, lp := range m.Label {
    		r.Label[i] = deepCopyLabelPair(lp)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 16 06:50:02 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/autoscaling/v2beta1/types.go

    	// increased, and vice-versa.  See the individual metric source types for
    	// more information about how each type of metric must respond.
    	// +optional
    	// +listType=atomic
    	Metrics []MetricSpec `json:"metrics,omitempty" protobuf:"bytes,4,rep,name=metrics"`
    }
    
    // MetricSourceType indicates the type of metric.
    type MetricSourceType string
    
    const (
    	// ObjectMetricSourceType is a metric describing a kubernetes object
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:27 UTC 2023
    - 26.9K bytes
    - Viewed (0)
  4. staging/src/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: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/autoscaling/v2beta2/types.go

    	// metric identifies the target metric by name and selector
    	Metric MetricIdentifier `json:"metric" protobuf:"bytes,1,name=metric"`
    
    	// current contains the current value for the given metric
    	Current MetricValueStatus `json:"current" protobuf:"bytes,2,name=current"`
    }
    
    // MetricValueStatus holds the current value for a metric
    type MetricValueStatus struct {
    	// value is the current value of the metric (as a quantity).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:27 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  6. cmd/metrics-v3-types.go

    		arg += "/"
    	}
    	return strings.HasPrefix(descendant, arg)
    }
    
    // MetricType - represents the type of a metric.
    type MetricType int
    
    const (
    	// CounterMT - represents a counter metric.
    	CounterMT MetricType = iota
    	// GaugeMT - represents a gauge metric.
    	GaugeMT
    	// HistogramMT - represents a histogram metric.
    	HistogramMT
    	// rangeL - represents a range label.
    	rangeL = "range"
    )
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 07:41:18 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  7. pkg/monitoring/monitoring.go

    	for name, def := range d.known {
    		if def.Bounds == nil {
    			continue
    		}
    		// for each histogram metric (i.e. those with bounds), set up a view explicitly defining those buckets.
    		v := metric.WithView(metric.NewView(
    			metric.Instrument{Name: name},
    			metric.Stream{Aggregation: metric.AggregationExplicitBucketHistogram{
    				Boundaries: def.Bounds,
    			}},
    		))
    		opts = append(opts, v)
    	}
    	return opts
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  8. src/runtime/metrics/value.go

    	return v.kind
    }
    
    // Uint64 returns the internal uint64 value for the metric.
    //
    // If v.Kind() != KindUint64, this method panics.
    func (v Value) Uint64() uint64 {
    	if v.kind != KindUint64 {
    		panic("called Uint64 on non-uint64 metric value")
    	}
    	return v.scalar
    }
    
    // Float64 returns the internal float64 value for the metric.
    //
    // If v.Kind() != KindFloat64, this method panics.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 16:59:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/etcd3/metrics/metrics.go

     *
     * Promoting the stability level of the metric is a responsibility of the component owner, since it
     * involves explicitly acknowledging support for the metric across multiple releases, in accordance with
     * the metric stability policy.
     */
    var (
    	etcdRequestLatency = compbasemetrics.NewHistogramVec(
    		&compbasemetrics.HistogramOpts{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 21:15:32 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/runtime/instrumented_plugins.go

    )
    
    type instrumentedFilterPlugin struct {
    	framework.FilterPlugin
    
    	metric compbasemetrics.CounterMetric
    }
    
    var _ framework.FilterPlugin = &instrumentedFilterPlugin{}
    
    func (p *instrumentedFilterPlugin) Filter(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeInfo *framework.NodeInfo) *framework.Status {
    	p.metric.Inc()
    	return p.FilterPlugin.Filter(ctx, state, pod, nodeInfo)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top