Re: Query duration metrics

2017-11-27 Thread Vladimir Ozerov
Hi Andrey, You are right, current implementation of metrics is questionable. Please feel free to file a ticket if you have ideas on how to improve it. On Sun, Nov 5, 2017 at 11:17 PM, Andrey Kornev wrote: > Hi, > > It appears as if the query duration metric is a bit misleading. > > GridQueryPro

Re: Misleading query duration metrics

2017-11-08 Thread Valentin Kulichenko
_ > From: Andrey Kornev > Sent: Sunday, November 5, 2017 12:17 PM > To: dev@ignite.apache.org > Subject: Query duration metrics > > Hi, > > It appears as if the query duration metric is a bit misleading. > > GridQueryProcessor.executeQuery() doesn't actual

Misleading query duration metrics

2017-11-08 Thread Andrey Kornev
: Andrey Kornev Sent: Sunday, November 5, 2017 12:17 PM To: dev@ignite.apache.org Subject: Query duration metrics Hi, It appears as if the query duration metric is a bit misleading. GridQueryProcessor.executeQuery() doesn't actually "run" the query. It simply delegates query

Query duration metrics

2017-11-05 Thread Andrey Kornev
Hi, It appears as if the query duration metric is a bit misleading. GridQueryProcessor.executeQuery() doesn't actually "run" the query. It simply delegates query execution to a closure passed in as a parameter. The closure may or may not actually execute the query. In some (all?) cases, the clo