samplingRate

Set a per-event-name sampling rate.

Parameters

eventName

The event name to sample (exact match).

rate

Fraction of events to keep: 0.0 = drop all, 1.0 = keep all (default).