Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for cedric (0.14 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. 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)
  3. 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)
  4. 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)
  5. src/reflect/all_test.go

    			i:    0,
    			j:    2,
    			want: []*I{&c, &b, &a},
    		},
    		{
    			in:   []string{"eric", "sergey", "larry"},
    			i:    0,
    			j:    2,
    			want: []string{"larry", "sergey", "eric"},
    		},
    		{
    			in:   []S{"eric", "sergey", "larry"},
    			i:    0,
    			j:    2,
    			want: []S{"larry", "sergey", "eric"},
    		},
    		{
    			in:   []pair{{1, 2}, {3, 4}, {5, 6}},
    			i:    0,
    			j:    2,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  6. src/database/sql/sql_test.go

    	txs := tx.Stmt(stmt)
    	if txs.stickyErr != nil {
    		t.Fatal(txs.stickyErr)
    	}
    	if txs.parentStmt != nil {
    		t.Fatal("expected nil parentStmt")
    	}
    	_, err = txs.Exec(`Eric`, 82)
    	if err != nil {
    		t.Fatalf("txs.Exec = %v", err)
    	}
    
    	err = txs.Close()
    	if err != nil {
    		t.Fatalf("txs.Close = %v", err)
    	}
    
    	tx.Rollback()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  7. pkg/controller/job/job_controller_test.go

    				if err != nil {
    					t.Fatalf("Obtaining succeeded job_pods_finished_total: %v", err)
    				}
    				if float64(tc.wantSucceededPodsMetric) != v {
    					t.Errorf("Metric reports %.0f succeeded pods, want %d", v, tc.wantSucceededPodsMetric)
    				}
    				v, err = metricstestutil.GetCounterMetricValue(metrics.JobPodsFinished.WithLabelValues(completionMode, metrics.Failed))
    				if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_pods.go

    		}
    	}
    	if len(counts) > 0 {
    		// in case a combination is lost
    		klog.V(3).InfoS("Programmer error, did not report a kubelet_working_pods metric for a value returned by SyncKnownPods", "counts", counts)
    	}
    
    	// Remove any cgroups in the hierarchy for pods that are definitely no longer
    	// running (not in the container runtime).
    	if kl.cgroupsPerQOS {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet.go

    		klet.configMapManager = configMapManager
    	}
    
    	machineInfo, err := klet.cadvisor.MachineInfo()
    	if err != nil {
    		return nil, err
    	}
    	// Avoid collector collects it as a timestamped metric
    	// See PR #95210 and #97006 for more details.
    	machineInfo.Timestamp = time.Time{}
    	klet.setCachedMachineInfo(machineInfo)
    
    	imageBackOff := flowcontrol.NewBackOff(backOffPeriod, MaxContainerBackOff)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
Back to top