MCPcopy Create free account
hub / github.com/cortexproject/cortex / WaitSumMetrics

Method WaitSumMetrics

integration/e2e/service.go:599–601  ·  view source on GitHub ↗

WaitSumMetrics waits for at least one instance of each given metric names to be present and their sums, returning true when passed to given isExpected(...).

(isExpected func(sums ...float64) bool, metricNames ...string)

Source from the content-addressed store, hash-verified

597// WaitSumMetrics waits for at least one instance of each given metric names to be present and their sums, returning true
598// when passed to given isExpected(...).
599func (s *HTTPService) WaitSumMetrics(isExpected func(sums ...float64) bool, metricNames ...string) error {
600 return s.WaitSumMetricsWithOptions(isExpected, metricNames)
601}
602
603func (s *HTTPService) WaitSumMetricsWithOptions(isExpected func(sums ...float64) bool, metricNames []string, opts ...MetricsOption) error {
604 var (

Calls 1