Query for duration of kv pairs


I am trying to create a query to see how long it takes for my kv pairs to be returned. I have the kv pairs set up in java. Basically i need to know if the duration of time it takes is longer than xx milliseconds and then count both those taking longer and shorter. How would i go about a query like that?

Labels (1)
0 Karma


Please describe the use case in more detail.  Where are the kv pairs returning from?  What time duration is being measured?  Some sample events would be helpful.

If this reply helps you, an upvote would be appreciated.
0 Karma
.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!