Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 548 for cedric (0.18 sec)

  1. pkg/kubelet/metrics/collectors/cri_metrics.go

    func (c *criMetricsCollector) CollectWithStability(ch chan<- metrics.Metric) {
    	podMetrics, err := c.listPodSandboxMetricsFn(context.Background())
    	if err != nil {
    		klog.ErrorS(err, "Failed to get pod metrics")
    		return
    	}
    
    	for _, podMetric := range podMetrics {
    		for _, metric := range podMetric.GetMetrics() {
    			promMetric, err := c.criMetricToProm(metric)
    			if err == nil {
    				ch <- promMetric
    			}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 23 13:24:29 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/testdata/telemetry-default-selector.yaml

        overrides:
        - match:
            metric: ALL_METRICS
          disabled: false
    ---
    apiVersion: telemetry.istio.io/v1alpha1
    kind: Telemetry
    metadata:
      name: has-conflict-1 # Both Telemetries in this namespace omit workload selector, so they are in conflict
      namespace: ns2
    spec:
      metrics:
      - providers:
        - name: prometheus
        overrides:
        - match:
            metric: ALL_METRICS
            mode: CLIENT
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 03 06:56:06 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. pkg/kubelet/metrics/collectors/resource_metrics.go

    // Since new containers are frequently created and removed, using the Gauge would
    // leak metric collectors for containers or pods that no longer exist.  Instead, implement
    // custom collector in a way that only collects metrics for active containers.
    func (rc *resourceMetricsCollector) CollectWithStability(ch chan<- metrics.Metric) {
    	ctx := context.Background()
    	var errorCount float64
    	defer func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 07:13:37 UTC 2023
    - 9.2K bytes
    - Viewed (2)
  4. staging/src/k8s.io/api/testdata/HEAD/autoscaling.v2.HorizontalPodAutoscaler.json

              },
              "target": {
                "type": "typeValue",
                "value": "0",
                "averageValue": "0",
                "averageUtilization": 4
              },
              "metric": {
                "name": "nameValue",
                "selector": {
                  "matchLabels": {
                    "matchLabelsKey": "matchLabelsValue"
                  },
                  "matchExpressions": [
                    {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 06 21:25:20 UTC 2022
    - 7.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.30.0/autoscaling.v2beta2.HorizontalPodAutoscaler.json

              },
              "target": {
                "type": "typeValue",
                "value": "0",
                "averageValue": "0",
                "averageUtilization": 4
              },
              "metric": {
                "name": "nameValue",
                "selector": {
                  "matchLabels": {
                    "matchLabelsKey": "matchLabelsValue"
                  },
                  "matchExpressions": [
                    {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. pkg/apis/autoscaling/v2beta1/conversion.go

    	}
    	out.MetricName = in.Metric.Name
    	out.Selector = in.Metric.Selector
    	return nil
    }
    
    func Convert_v2beta1_PodsMetricStatus_To_autoscaling_PodsMetricStatus(in *autoscalingv2beta1.PodsMetricStatus, out *autoscaling.PodsMetricStatus, s conversion.Scope) error {
    	out.Current = autoscaling.MetricValueStatus{
    		AverageValue: &in.CurrentAverageValue,
    	}
    	out.Metric = autoscaling.MetricIdentifier{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 03 16:28:10 UTC 2021
    - 13.4K bytes
    - Viewed (0)
  7. cmd/metrics-resource.go

    	}
    
    	key := getResourceKey(name, labels)
    	metric, found := subsysMetrics[key]
    	if !found {
    		metric = ResourceMetric{
    			Name:   name,
    			Labels: labels,
    		}
    	}
    
    	if isCumulative {
    		metric.Current = val - metric.Cumulative
    		metric.Cumulative = val
    	} else {
    		metric.Current = val
    	}
    
    	if metric.Current > metric.Max {
    		metric.Max = val
    	}
    
    	metric.Sum += metric.Current
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 15:15:13 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/metrics.go

    				StabilityLevel: metrics.ALPHA,
    			},
    			[]string{"crd_name", "from_version", "to_version", "succeeded"})
    		err := legacyregistry.Register(metric)
    		if err != nil {
    			return nil, err
    		}
    		c.durations["webhook"] = metric
    	}
    	return &converterMetric{latencies: metric, delegate: converter, crdName: crdName}, nil
    }
    
    func (m *converterMetric) Convert(in runtime.Object, targetGV schema.GroupVersion) (runtime.Object, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 19:34:33 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/podsmetricsource.go

    package v2
    
    // PodsMetricSourceApplyConfiguration represents an declarative configuration of the PodsMetricSource type for use
    // with apply.
    type PodsMetricSourceApplyConfiguration struct {
    	Metric *MetricIdentifierApplyConfiguration `json:"metric,omitempty"`
    	Target *MetricTargetApplyConfiguration     `json:"target,omitempty"`
    }
    
    // PodsMetricSourceApplyConfiguration constructs an declarative configuration of the PodsMetricSource type for use with
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 09 02:34:54 UTC 2021
    - 2K bytes
    - Viewed (0)
  10. security/pkg/server/ca/monitoring.go

    type monitoringMetrics struct {
    	CSR               monitoring.Metric
    	AuthnError        monitoring.Metric
    	Success           monitoring.Metric
    	CSRError          monitoring.Metric
    	IDExtractionError monitoring.Metric
    	certSignErrors    monitoring.Metric
    }
    
    // newMonitoringMetrics creates a new monitoringMetrics.
    func newMonitoringMetrics() monitoringMetrics {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:09 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top