You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Josiah Yan (JIRA)" <ji...@apache.org> on 2017/11/01 14:14:00 UTC

[jira] [Commented] (DRILL-5892) Distinguish between states for query statistics exposed via JMX

    [ https://issues.apache.org/jira/browse/DRILL-5892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16234111#comment-16234111 ] 

Josiah Yan commented on DRILL-5892:
-----------------------------------

Digging into {{/drill/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/Foreman.java}}, not sure if {{timeout}} refers to failure due to timeout in a query queue, or a timeout in a Drillbit RPC.

> Distinguish between states for query statistics exposed via JMX
> ---------------------------------------------------------------
>
>                 Key: DRILL-5892
>                 URL: https://issues.apache.org/jira/browse/DRILL-5892
>             Project: Apache Drill
>          Issue Type: Improvement
>    Affects Versions: 1.11.0
>            Reporter: Kunal Khatua
>            Priority: Major
>             Fix For: Future
>
>
> Currently, the JMX metrics exposed 
> {code:java}
> metrics:name=drill.queries.completed
> metrics:name=drill.queries.running
> metrics:name=drill.queries.enqueued
> {code}
> The completed queries, however, do not distinguish between the outcomes of the completed queries.
> The proposal is to also provide success, failed, cancelled and timeout (yet to implement) states.
> {code:xml}
>   "metrics:name=drill.queries" : {
>     "completed" : {
>       "successful": INTEGER,
>       "failed": INTEGER,
>       "cancelled": INTEGER,
>       "timeout": INTEGER
>     },
>     "running" : INTEGER,
>     "enqueued" : {
>       "small" : INTEGER,
>       "large" : INTEGER
>       }
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)