- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for validateMetrics (0.22 sec)
-
pkg/apis/autoscaling/validation/validation.go
} if refErrs := ValidateCrossVersionObjectReference(autoscaler.ScaleTargetRef, fldPath.Child("scaleTargetRef")); len(refErrs) > 0 { allErrs = append(allErrs, refErrs...) } if refErrs := validateMetrics(autoscaler.Metrics, fldPath.Child("metrics"), autoscaler.MinReplicas); len(refErrs) > 0 { allErrs = append(allErrs, refErrs...) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Feb 25 00:58:00 UTC 2024 - 19.4K bytes - Viewed (0) -
tests/integration/telemetry/policy/helper_test.go
return fmt.Errorf("expected metadata %v=%v, got %q", k, v, got) } } } return nil }, }) if tc.Expected.Query.Metric != "" { util.ValidateMetric(t, t.Clusters().Default(), prometheus, tc.Expected.Query, 1) } }) } }) } func setupEcho(t framework.TestContext, mode TrafficPolicy) (echo.Instance, echo.Target) { t.Helper()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 11.4K bytes - Viewed (0) -
tests/integration/telemetry/api/stats_test.go
util.PromDiff(t, promInst, cluster, grpcSourceQuery) return err } return nil }, retry.Delay(1*time.Second), retry.Timeout(300*time.Second)) util.ValidateMetric(t, cluster, promInst, grpcSourceQuery, 1) }) }) } }) } func buildGRPCQuery(metric string) (destinationQuery prometheus.Query) { ns := apps.Namespace
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 17.3K bytes - Viewed (0)