Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 192 for cedric (0.13 sec)

  1. 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)
  2. staging/src/k8s.io/apiserver/pkg/authorization/metrics/metrics_test.go

    		if err := testutil.GatherAndCompare(legacyregistry.DefaultGatherer, strings.NewReader(expectedValue), metrics...); err != nil {
    			t.Fatal(err)
    		}
    		authorizationDecisionsTotal.Reset()
    	}
    
    	// no-opinion emits no metric
    	{
    		dummyAuthorizer.decision = authorizer.DecisionNoOpinion
    		_, _, _ = a.Authorize(context.Background(), nil)
    		_, _, _ = a.Authorize(context.Background(), nil)
    		expectedValue := prefix + `
    		`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 13:20:59 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/envoyfilter/monitoring.go

    		}),
    	)
    )
    
    var (
    	envoyFilterStatusMap = map[string]map[string]bool{} // Map of Envoy filter name, patch and status.
    	envoyFilterMutex     sync.RWMutex
    )
    
    // IncrementEnvoyFilterMetric increments filter metric.
    func IncrementEnvoyFilterMetric(name string, pt PatchType, applied bool) {
    	if !features.EnableEnvoyFilterMetrics {
    		return
    	}
    	envoyFilterMutex.Lock()
    	defer envoyFilterMutex.Unlock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. 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)
  5. pilot/pkg/model/telemetry.go

    					// Next, get all matches.
    					// This is a bit funky because the matches are oneof of ENUM and customer metric. We normalize
    					// these to strings, so we may end up with a list like [REQUEST_COUNT, my-customer-metric].
    					// TODO: we always flatten ALL_METRICS into each metric mode. For some stats providers (prometheus),
    					// we are able to apply overrides to all metrics directly rather than duplicating the config.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 18:14:09 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/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 (
    	listCacheCount = compbasemetrics.NewCounterVec(
    		&compbasemetrics.CounterOpts{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 07:39:23 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. src/internal/trace/event_test.go

    func TestPanicEvent(t *testing.T) {
    	// Use a sync event for this because it doesn't have any extra metadata.
    	ev := syncEvent(nil, 0)
    
    	mustPanic(t, func() {
    		_ = ev.Range()
    	})
    	mustPanic(t, func() {
    		_ = ev.Metric()
    	})
    	mustPanic(t, func() {
    		_ = ev.Log()
    	})
    	mustPanic(t, func() {
    		_ = ev.Task()
    	})
    	mustPanic(t, func() {
    		_ = ev.Region()
    	})
    	mustPanic(t, func() {
    		_ = ev.Label()
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 784 bytes
    - Viewed (0)
  8. pkg/proxy/metrics/metrics.go

    	if n.client != nil {
    		counter, err := n.client.Get(n.counter)
    		if err != nil {
    			klog.ErrorS(err, "failed to collect nfacct counter", "counter", n.counter)
    		} else {
    			metric, err := metrics.NewConstMetric(n.description, metrics.CounterValue, float64(counter.Packets))
    			if err != nil {
    				klog.ErrorS(err, "failed to create constant metric")
    			} else {
    				ch <- metric
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  9. pkg/test/framework/components/prometheus/kube.go

    	for _, forwarder := range c.forwarder {
    		forwarder.Close()
    	}
    	return nil
    }
    
    type Query struct {
    	Metric      string
    	Aggregation string
    	Labels      map[string]string
    }
    
    func (q Query) String() string {
    	query := q.Metric + `{`
    
    	keys := []string{}
    	for k := range q.Labels {
    		keys = append(keys, k)
    	}
    	sort.Strings(keys)
    	for _, k := range keys {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. pkg/controller/job/metrics/metrics.go

    	Succeeded = "succeeded"
    	Failed    = "failed"
    
    	// Possible values for "event"  label in the terminated_pods_tracking_finalizer
    	// metric.
    	Add    = "add"
    	Delete = "delete"
    
    	// Possible values for "reason" label in the job_pods_creation_total metric.
    
    	PodCreateNew                   = "new"
    	PodRecreateTerminatingOrFailed = "recreate_terminating_or_failed"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 17:25:15 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top