Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for metricName (0.15 sec)

  1. cmd/bucket-stats.go

    	} else {
    		bs.XferRateSml.addSize(sz, duration)
    	}
    }
    
    // RMetricName - name of replication metric
    type RMetricName string
    
    const (
    	// Large - objects larger than 128MiB
    	Large RMetricName = "Large"
    	// Small - objects smaller than 128MiB
    	Small RMetricName = "Small"
    	// Total - metric pertaining to totals
    	Total RMetricName = "Total"
    )
    
    // ReplQNodeStats holds queue stats for replication per node
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. pkg/kubelet/util/pod_startup_latency_tracker_test.go

    	"k8s.io/kubernetes/pkg/kubelet/metrics"
    	testingclock "k8s.io/utils/clock/testing"
    )
    
    var frozenTime = time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC)
    
    const (
    	uid         = "3c1df8a9-11a8-4791-aeae-184c18cca686"
    	metricsName = "kubelet_pod_start_sli_duration_seconds"
    )
    
    func TestNoEvents(t *testing.T) {
    	t.Run("metrics registered; no incoming events", func(t *testing.T) {
    
    		// expects no metrics in the output
    		wants := ""
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 15 06:09:49 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtranslator_test.go

    	if !bytes.Equal(randomData, data) {
    		t.Errorf("unexpected data received: %d sent: %d", len(data), len(randomData))
    	}
    	// Validate the streamtranslator metrics; should be one 200 success.
    	metricNames := []string{"apiserver_stream_translator_requests_total"}
    	expected := `
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 23:21:55 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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