- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for GetHistogramMetricCount (0.41 sec)
-
pkg/volume/util/operationexecutor/operation_generator_test.go
storageOperationDurationSecondsMetricBefore, _ := testutil.GetHistogramMetricCount(m) var ee error unmapVolumeFunc.CompleteFunc(volumetypes.CompleteFuncParam{Err: &ee}) storageOperationDurationSecondsMetricAfter, _ := testutil.GetHistogramMetricCount(m) metricValueDiff := storageOperationDurationSecondsMetricAfter - storageOperationDurationSecondsMetricBefore
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 16.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/grpc_service_unix_test.go
if sampleSum == 0 { t.Fatalf("expected metric value to be greater than 0, got %v", sampleSum) } count, err := testutil.GetHistogramMetricCount(metrics.KMSOperationsLatencyMetric.WithLabelValues(tt.labelValues...)) if err != nil { t.Fatalf("failed to get metric count, error: %v", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 21 19:25:52 UTC 2023 - 12.7K bytes - Viewed (0) -
pkg/scheduler/framework/runtime/framework_test.go
t.Helper() m := metrics.PluginExecutionDuration.WithLabelValues(wantPlugin, wantExtensionPoint, wantStatus.String()) count, err := testutil.GetHistogramMetricCount(m) if err != nil { t.Errorf("Failed to get %s sampleCount, err: %v", metrics.PluginExecutionDuration.Name, err) } if count == 0 { t.Error("Expect at least 1 sample") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 103K bytes - Viewed (0)