Skip to content

Commit ee539f3

Browse files
committed
revert change in 52c9e9a commit
1 parent 5a79414 commit ee539f3

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

test/extended/prometheus/prometheus.go

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -529,22 +529,15 @@ var _ = g.Describe("[sig-instrumentation][Late] Alerts", func() {
529529
// we only consider series sent since the beginning of the test
530530
testDuration := exutil.DurationSinceStartInSeconds().String()
531531

532-
isManagedServiceCluster, err := exutil.IsManagedServiceCluster(ctx, oc.AdminKubeClient())
533-
o.Expect(err).NotTo(o.HaveOccurred())
534-
535-
// We want to limit the number of total series sent, the cluster:telemetry_selected_series:count
536-
// rule contains the count of the all the series that are sent via telemetry. It is permissible
537-
// for some scenarios to generate more series than 760, we just want the basic state to be below
538-
// a threshold.
539532
var averageSeriesLimit int
540-
switch {
541-
case isManagedServiceCluster:
542-
averageSeriesLimit = 850
543-
default:
544-
averageSeriesLimit = 1000
545-
}
533+
averageSeriesLimit = 1000
546534

547535
tests := map[string]bool{
536+
// We want to limit the number of total series sent, the cluster:telemetry_selected_series:count
537+
// rule contains the count of the all the series that are sent via telemetry. It is permissible
538+
// for some scenarios to generate more series than 760, we just want the basic state to be below
539+
// a threshold.
540+
548541
// The following query can be executed against the telemetry server
549542
// to reevaluate the threshold value (replace the matcher on the version label accordingly):
550543
//

0 commit comments

Comments
 (0)