On Wed, Jul 1, 2015 at 1:07 AM, DM <[email protected]> wrote: > I have been looking into node-dogstatsd . Can someone please explain me why > the sampling rate is not provided for the incrementBy function whereas the > sampling rate is there for the increment function. > > Is there any limitation or restriction on dogstatsd side regarding the > sample_rate when the increment and decrement is not equal to 1? I am not > able to find this in any of the datadog docs.
I think the sample rate for counter is assumed to be by "a single sample", and if you are incrementing or decrementing by values greater than 1, and using a sample rate, it would confuse the server, which basically takes the values it receives for a data point, and multiplies them by the inverse of the sampling rate to estimate what the "real" value was, before down sampling. If you are doing this by values greater than/less than 1, that calculation would be meaningless. Sam -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CACmrRmRh5osgfDHO0UF%3DrNs3sq2naJAchYqJSxqKuhO8Hac85A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
