sampler icon indicating copy to clipboard operation
sampler copied to clipboard

Possibility to use deltas between samples

Open lefred opened this issue 3 years ago • 1 comments

It would be great if there will be the possibility to explicitly use deltas for samples.

For example I've a sample that returns the amount of queries run a database since the start of it. This counter just keep increasing but I would like to only display the value between two collected samples.

If the value is 3021, then 3222, then 3232, I would like to have the possibility to display: 0, 201, 10

If this is already possible, I didn't find it yet ;)

Cheers,

lefred avatar Apr 20 '22 07:04 lefred

There is a lot of counters is any system. I am really surprised that this is not implemented. At least make something like $previous_sample available in transform. At best - internal subtraction and division by actual time between samples.

yekm avatar Mar 07 '25 21:03 yekm