Skip to content

How Sampler creates one single Sample from multiple collected stat? #97

Answered by balazskreith
rostamiani asked this question in Q&A
Discussion options

You must be logged in to vote

Short answer:
no aggregation, the collecting period and sampling period are separated for different reasons.
A Sample is a snapshot of the stats at the moment it is invoked.

In your example what happens is that the sampler creates a Sample after 10s, 20s, which means it makes a snapshot after the 3rd, 6th, and 9th collected stats. After 20s it will send 2 Samples, and after 40s it sends 2 Samples again.

Longer reply:
The reason for the separation is to decide what the granuality you want to work on the client-side and what is the granuality you want to save at the server side.
Most or almost every measurement is accumulated in the stats (bytesReceived, packetsReceived, etc), so for those …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by balazskreith
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants