Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for metricName (0.14 sec)

  1. pilot/pkg/model/telemetry.go

    	}
    
    	for _, override := range listenerCfg.Overrides {
    		metricName, f := metricToPrometheusMetric[override.Name]
    		if !f {
    			// Not a predefined metric, must be a custom one
    			metricName = override.Name
    		}
    		mc := &stats.MetricConfig{
    			Dimensions: map[string]string{},
    			Name:       metricName,
    			Drop:       override.Disabled,
    		}
    		for _, t := range override.Tags {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 18:14:09 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  2. pkg/controller/resourceclaim/controller_test.go

    		t.Errorf("Expected claims to have conflicts %d, got %v", em.numFailures, actualConflicts)
    	}
    }
    
    func handleErr(t *testing.T, err error, metricName string) {
    	if err != nil {
    		t.Errorf("Failed to get %s value, err: %v", metricName, err)
    	}
    }
    
    func setupMetrics() {
    	ephemeralvolumemetrics.RegisterMetrics()
    	ephemeralvolumemetrics.ResourceClaimCreateAttempts.Reset()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 08:56:16 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  3. pkg/controller/endpointslicemirroring/reconciler_test.go

    		t.Errorf("Expected endpointSliceChangesDeleted to be %d, got %v", em.numDeleted, actualDeleted)
    	}
    }
    
    func handleErr(t *testing.T, err error, metricName string) {
    	if err != nil {
    		t.Errorf("Failed to get %s value, err: %v", metricName, err)
    	}
    }
    
    func setupMetrics() {
    	metrics.RegisterMetrics()
    	metrics.NumEndpointSlices.Delete(map[string]string{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  4. src/runtime/metrics.go

    //
    // Managed as a global variable because its pointer will be
    // an argument to a dynamically-defined function, and we'd
    // like to avoid it escaping to the heap.
    var agg statAggregate
    
    type metricName struct {
    	name string
    	kind metricKind
    }
    
    // readMetricNames is the implementation of runtime/metrics.readMetricNames,
    // used by the runtime/metrics test and otherwise unreferenced.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 26K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/autoscaling/v2beta2/generated.proto

      // When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
      // When unset, just the metricName will be used to gather metrics.
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
    }
    
    // MetricSpec specifies how to scale based on a single metric
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/autoscaling/v2/generated.proto

      // When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
      // When unset, just the metricName will be used to gather metrics.
      // +optional
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
    }
    
    // MetricSpec specifies how to scale based on a single metric
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/autoscaling/v2beta2/generated.proto

      // When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
      // When unset, just the metricName will be used to gather metrics.
      // +optional
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
    }
    
    // MetricSpec specifies how to scale based on a single metric
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/autoscaling/v2/generated.proto

      // When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
      // When unset, just the metricName will be used to gather metrics.
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
    }
    
    // MetricSpec specifies how to scale based on a single metric
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/autoscaling/v2/types.go

    	// When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
    	// When unset, just the metricName will be used to gather metrics.
    	// +optional
    	Selector *metav1.LabelSelector `json:"selector,omitempty" protobuf:"bytes,2,name=selector"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/autoscaling/v2beta2/types.go

    	// When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
    	// When unset, just the metricName will be used to gather metrics.
    	// +optional
    	Selector *metav1.LabelSelector `json:"selector,omitempty" protobuf:"bytes,2,name=selector"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:27 UTC 2023
    - 28.4K bytes
    - Viewed (0)
Back to top