Skip to content

Commit

Permalink
Increase sleep time to avoid exemplar sampling rate limiting for open…
Browse files Browse the repository at this point in the history
…MetricsScrapeWithExemplars() (#5908)

Signed-off-by: Johnny Lim <[email protected]>
  • Loading branch information
izeye authored Feb 10, 2025
1 parent 9e4dfbf commit f334566
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ void openMetricsScrapeWithExemplars() throws InterruptedException {
}

private static void sleepToAvoidRateLimiting() throws InterruptedException {
Thread.sleep(10); // sleeping since the sample interval limit is 1ms
Thread.sleep(100); // sleeping since the sample interval limit is 1ms
}

@Test
Expand Down

0 comments on commit f334566

Please sign in to comment.