You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "hongwang@cienet.com.cn" <ho...@cienet.com.cn> on 2016/04/11 11:01:37 UTC
drill support
Hi,
I got a requirement, we should record the total number of times and the success number of times for the operation "Query".
But I have no idea to implemant it, can you give me some suggestions?
Thanks!
Wang Hong
Re: drill support
Posted by Abdel Hakim Deneche <ad...@maprtech.com>.
Do you mean you want to count how many queries were run and how many of
them succeeded ?
If yes, then you can query the query audit logs [1] that should give you
all the information you need. Please note that if you are running Drill on
a cluster, each drillbit will have it's own query log, so you'll have to
aggregate the information from all drillbits.
Hope this helps
[1] https://drill.apache.org/docs/query-audit-logging/
On Mon, Apr 11, 2016 at 10:01 AM, hongwang@cienet.com.cn <
hongwang@cienet.com.cn> wrote:
> Hi,
>
> I got a requirement, we should record the total number of times and the
> success number of times for the operation "Query".
>
> But I have no idea to implemant it, can you give me some suggestions?
>
> Thanks!
>
> Wang Hong
>
>
--
Abdelhakim Deneche
Software Engineer
<http://www.mapr.com/>
Now Available - Free Hadoop On-Demand Training
<http://www.mapr.com/training?utm_source=Email&utm_medium=Signature&utm_campaign=Free%20available>