>> + * The function behaviors changes depending on sample_rate (a fraction of
>> + * transaction is reported) and agg_interval (transactions are aggregated
>> + * over the interval and reported once).
>
> The first part of this sentence has an incorrect grammar.
Indeed. v5 attempts to improve comments.
--
Fabien.