Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for metricName (0.22 sec)

  1. cmd/metrics-resource.go

    	interfaceRxBytes  MetricName = "rx_bytes"
    	interfaceRxErrors MetricName = "rx_errors"
    	interfaceTxBytes  MetricName = "tx_bytes"
    	interfaceTxErrors MetricName = "tx_errors"
    
    	// cpu stats
    	cpuUser       MetricName = "user"
    	cpuSystem     MetricName = "system"
    	cpuIOWait     MetricName = "iowait"
    	cpuIdle       MetricName = "idle"
    	cpuNice       MetricName = "nice"
    	cpuSteal      MetricName = "steal"
    	cpuLoad1      MetricName = "load1"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 15:15:13 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. cmd/metrics-v3-types.go

    // value of this type is passed to the `MetricsLoaderFn`.
    type MetricValues struct {
    	values      map[MetricName][]metricValue
    	descriptors map[MetricName]MetricDescriptor
    }
    
    func newMetricValues(d map[MetricName]MetricDescriptor) MetricValues {
    	return MetricValues{
    		values:      make(map[MetricName][]metricValue, len(d)),
    		descriptors: d,
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 07:41:18 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/autoscaling/v1/types.go

    type ObjectMetricSource struct {
    	// target is the described Kubernetes object.
    	Target CrossVersionObjectReference `json:"target" protobuf:"bytes,1,name=target"`
    
    	// metricName is the name of the metric in question.
    	MetricName string `json:"metricName" protobuf:"bytes,2,name=metricName"`
    
    	// targetValue is the target value of the metric (as a quantity).
    	TargetValue resource.Quantity `json:"targetValue" protobuf:"bytes,3,name=targetValue"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/metrics_test.go

    	// Wrap metric to keep time constant
    	testMetrics := &fakeMetrics{original: validation.Metrics}
    	validation.Metrics = testMetrics
    	defer func() {
    		validation.Metrics = testMetrics.original
    	}()
    
    	metricNames := []string{
    		"apiextensions_apiserver_validation_ratcheting_seconds",
    	}
    
    	testCases := []struct {
    		desc   string
    		obj    *unstructured.Unstructured
    		old    *unstructured.Unstructured
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc

    // TODO: b/290366702 - Temporarily added metrics for debugging.
    auto *mlir_tf_quant_op_count = ::tensorflow::monitoring::Counter<1>::New(
        "/tensorflow/core/tf2xla/tf_quant_op_count" /*metric_name*/,
        "Counts the number of ops that has qint types" /*metric description*/,
        "op_name" /*metric label*/);
    
    // Returns wether a type is illegal. Here we consider TF qint types illegal.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.cc

    using ::tensorflow::tpu::ShardingAndIndex;
    
    auto* phase2_bridge_compilation_status =
        tensorflow::monitoring::Counter<1>::New(
            "/tensorflow/core/tf2xla/api/v1/"
            "phase2_compilation_status", /*metric_name*/
            "Tracks the compilation status of the non-mlir bridge",
            /* metric description */ "status" /* metric label */);
    
    auto* phase2_bridge_compilation_time = tsl::monitoring::Sampler<1>::New(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top