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

Amareshwari Sriramadasu commented on LENS-543:
----------------------------------------------

[~biswajit.nayak], we already have counters for successful, failed and 
cancelled queries - http://lens.incubator.apache.org/admin/monitoring.html

Here are the counters on one of the deployment :

{noformat}
    
"org.apache.lens.server.api.query.QueryExecutionService.total-accepted-queries" 
: {
      "count" : 164
    },
    
"org.apache.lens.server.api.query.QueryExecutionService.total-cancelled-queries"
 : {
      "count" : 0
    },
    
"org.apache.lens.server.api.query.QueryExecutionService.total-failed-queries" : 
{
      "count" : 48
    },
    
"org.apache.lens.server.api.query.QueryExecutionService.total-finished-queries" 
: {
      "count" : 161
    },
    
"org.apache.lens.server.api.query.QueryExecutionService.total-success-queries" 
: {
      "count" : 113
    }
{noformat}

> successful query metrics
> ------------------------
>
>                 Key: LENS-543
>                 URL: https://issues.apache.org/jira/browse/LENS-543
>             Project: Apache Lens
>          Issue Type: Bug
>            Reporter: Biswajit Nayak
>
> Lens is emiting 
> lens.gauges.org.apache.lens.server.api.query.QueryExecutionService.finished-queries.value,
>   which is the no of the successful query in buffer. But we need metrics for 
> killed, cancel and success state to have full control. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to