Sampler

The sampler functions allows you to sample log events using a configured rate

Example

Using following configuration, we can sample log events with a sample rate of 10.