Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 89 for Cedric (0.12 sec)

  1. cmd/data-scanner-metric.go

    		return true
    	})
    	return i
    }
    
    // lifetime returns the lifetime count of the specified metric.
    func (p *scannerMetrics) lifetime(m scannerMetric) uint64 {
    	if m >= scannerMetricLast {
    		return 0
    	}
    	val := atomic.LoadUint64(&p.operations[m])
    	return val
    }
    
    // lastMinute returns the last minute statistics of a metric.
    // m should be < scannerMetricLastRealtime
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 25 05:15:31 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. staging/src/k8s.io/api/testdata/v1.29.0/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 Dec 15 04:12:07 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.30.0/autoscaling.v2beta2.HorizontalPodAutoscaler.yaml

      - containerResource:
          container: containerValue
          name: nameValue
          target:
            averageUtilization: 4
            averageValue: "0"
            type: typeValue
            value: "0"
        external:
          metric:
            name: nameValue
            selector:
              matchExpressions:
              - key: keyValue
                operator: operatorValue
                values:
                - valuesValue
              matchLabels:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. pkg/kubelet/server/stats/volume_stat_calculator_test.go

    	return vMetrics
    }
    
    func expectedFSStats() kubestats.FsStats {
    	metric := expectedMetrics()
    	available := uint64(metric.Available.Value())
    	capacity := uint64(metric.Capacity.Value())
    	used := uint64(metric.Used.Value())
    	inodes := uint64(metric.Inodes.Value())
    	inodesFree := uint64(metric.InodesFree.Value())
    	inodesUsed := uint64(metric.InodesUsed.Value())
    	return kubestats.FsStats{
    		AvailableBytes: &available,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. pkg/controller/volume/attachdetach/metrics/metrics_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "metric-test-pod",
    			UID:       "metric-test-pod-uid",
    			Namespace: "metric-test",
    		},
    		Spec: v1.PodSpec{
    			NodeName: "metric-test-host",
    			Volumes: []v1.Volume{
    				{
    					Name: "metric-test-volume-name",
    					VolumeSource: v1.VolumeSource{
    						PersistentVolumeClaim: &v1.PersistentVolumeClaimVolumeSource{
    							ClaimName: "metric-test-pvc",
    						},
    					},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.30.0/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: Thu Apr 18 08:52:25 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top