drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josiah Yan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-5892) Distinguish between states for query statistics exposed via JMX
Date Wed, 01 Nov 2017 14:14:00 GMT

    [ 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)

Mime
View raw message