Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for cedric (0.24 sec)

  1. cmd/metrics-v2.go

    		})
    		return metrics
    	})
    	return mg
    }
    
    func collectMetric(metric MetricV2, labels []string, values []string, metricName string, out chan<- prometheus.Metric) {
    	if metric.Description.Type == histogramMetric {
    		if metric.Histogram == nil {
    			return
    		}
    		for k, v := range metric.Histogram {
    			pmetric, err := prometheus.NewConstMetric(
    				prometheus.NewDesc(
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  2. api/openapi-spec/v3/apis__autoscaling__v2_openapi.json

                "description": "current contains the current value for the given metric"
              },
              "metric": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/io.k8s.api.autoscaling.v2.MetricIdentifier"
                  }
                ],
                "default": {},
                "description": "metric identifies the target metric by name and selector"
              }
            },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 186.6K bytes
    - Viewed (0)
  3. pkg/controller/podautoscaler/horizontal_test.go

    					matchedTarget = &tc.metricsTarget[i]
    				}
    			}
    		}
    		assert.NotNil(t, matchedTarget, "this request should have matched one of the metric specs")
    		assert.Equal(t, "qps", getForAction.GetMetricName(), "the metric name requested should have been qps, as specified in the metric spec")
    
    		metrics.Items = []cmapi.MetricValue{
    			{
    				DescribedObject: v1.ObjectReference{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/autoscaling/v2/generated.pb.go

    		`Metric:` + strings.Replace(strings.Replace(this.Metric.String(), "MetricIdentifier", "MetricIdentifier", 1), `&`, ``, 1) + `,`,
    		`}`,
    	}, "")
    	return s
    }
    func (this *ObjectMetricStatus) String() string {
    	if this == nil {
    		return "nil"
    	}
    	s := strings.Join([]string{`&ObjectMetricStatus{`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 162.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/autoscaling/v2beta2/generated.pb.go

    		`Metric:` + strings.Replace(strings.Replace(this.Metric.String(), "MetricIdentifier", "MetricIdentifier", 1), `&`, ``, 1) + `,`,
    		`}`,
    	}, "")
    	return s
    }
    func (this *ObjectMetricStatus) String() string {
    	if this == nil {
    		return "nil"
    	}
    	s := strings.Join([]string{`&ObjectMetricStatus{`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 163K bytes
    - Viewed (0)
  6. pkg/printers/internalversion/printers_test.go

    					Metrics: []autoscaling.MetricSpec{
    						{
    							Type: autoscaling.ExternalMetricSourceType,
    							External: &autoscaling.ExternalMetricSource{
    								Metric: autoscaling.MetricIdentifier{
    									Name:     "some-external-metric",
    									Selector: metricLabelSelector,
    								},
    								Target: autoscaling.MetricTarget{
    									Type:         autoscaling.AverageValueMetricType,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  7. go.sum

    go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
    go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
    go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
    go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 15:32:28 UTC 2024
    - 101.6K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_pods_test.go

    			// clear the metrics for testing
    			metrics.Register()
    			for _, metric := range []interface{ Reset() }{
    				metrics.DesiredPodCount,
    				metrics.ActivePodCount,
    				metrics.RestartedPodTotal,
    				metrics.OrphanedRuntimePodTotal,
    				metrics.WorkingPodCount,
    			} {
    				metric.Reset()
    			}
    			metrics.MirrorPodCount.Set(0)
    
    			testKubelet := newTestKubelet(t, false)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  9. api/openapi-spec/v3/apis__autoscaling__v1_openapi.json

                "format": "int32",
                "type": "integer"
              },
              "scaleTargetRef": {
                "allOf": [
                  {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 152.9K bytes
    - Viewed (0)
  10. pkg/proxy/nftables/proxier_test.go

    			}
    
    			if tc.expectedSyncProxyRulesNoLocalEndpointsTotalInternal != int(syncProxyRulesNoLocalEndpointsTotalInternal) {
    				t.Errorf("sync_proxy_rules_no_endpoints_total metric mismatch(internal): got=%d, expected %d", int(syncProxyRulesNoLocalEndpointsTotalInternal), tc.expectedSyncProxyRulesNoLocalEndpointsTotalInternal)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
Back to top