rateLimiting

fun rateLimiting(ratePerSecond: Long): Sampler

Creates a Sampler that limits positive results to a limited rate per second.

Return

rate limiting Sampler instance

Parameters

ratePerSecond

the number of positive results per second