Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 36 of 36 for metricName (0.22 sec)

  1. 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 (1)
  2. pkg/kubelet/pleg/generic_test.go

    			},
    		}},
    	}
    
    	pleg.Relist()
    
    	tests := []struct {
    		name        string
    		metricsName string
    		wants       string
    	}{
    		{
    			name:        "test container count",
    			metricsName: "kubelet_running_containers",
    			wants: `
    # HELP kubelet_running_containers [ALPHA] Number of containers currently running
    # TYPE kubelet_running_containers gauge
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_experimental_test.cc

      std::unique_ptr<monitoring::CollectedMetrics> metrics =
          collection_registry->CollectMetrics(options);
    
      EXPECT_EQ("test/counter",
                metrics->point_set_map.at("test/counter")->metric_name);
      EXPECT_EQ(
          1, metrics->point_set_map.at("test/counter")->points.at(0)->int64_value);
    
      TFE_MonitoringCounterCellIncrementBy(cell, 5);
      EXPECT_EQ(TFE_MonitoringCounterCellValue(cell), 6);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 03:14:26 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/metrics/metrics.go

    			rm.Reset()
    		}
    	}
    }
    
    // GatherAndCompare the given metrics with the given Prometheus syntax expected value
    func GatherAndCompare(expected string, metricNames ...string) error {
    	return basemetricstestutil.GatherAndCompare(legacyregistry.DefaultGatherer, strings.NewReader(expected), metricNames...)
    }
    
    // Registerables is a slice of Registerable
    type Registerables []compbasemetrics.Registerable
    
    // Append adds more
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 24 19:40:05 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  5. 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)
  6. 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