Does anyone know what the purpose of the sampleRate check and random number is for in the Send method e.g. in the c# sample:
if (sampleRate < 1.0)
{
foreach (var stat in stats)
{
if (Random.NextDouble() <= sampleRate)
{
Just seems to be you would only ever call the code in the else part - loop through stats and send