You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Samarth Jain (JIRA)" <ji...@apache.org> on 2017/06/29 21:31:00 UTC

[jira] [Updated] (PHOENIX-3978) Expose mutation failures in our metrics

     [ https://issues.apache.org/jira/browse/PHOENIX-3978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samarth Jain updated PHOENIX-3978:
----------------------------------
    Description: 
We should be exposing whether a mutation has failed through our metrics system. This should be done both within global and request level metrics. 

The task basically boils down to:
1) Adding a new enum MUTATION_BATCH_FAILED_COUNTER in MetricType.
2) Adding a new enum GLOBAL_MUTATION_BATCH_FAILED_COUNTER in GlobalClientMetrics
3) Adding a new CombinableMetric member called mutationBatchFailed to MutationMetric class
4) Making sure that the two metrics are updated within the catch exception block of MutationState#send()
5) Unit test in PhoenixMetricsIT

FYI, [~tdsilva]

  was:
We should be exposing whether a mutation has failed in our metrics system. This should be done both at a global as well as our request level metrics. 

The task basically boils down to:
1) Adding a new enum MUTATION_BATCH_FAILED_COUNTER in MetricType.
2) Adding a new enum GLOBAL_MUTATION_BATCH_FAILED_COUNTER in GlobalClientMetrics
3) Adding a new CombinableMetric member called mutationBatchFailed to MutationMetric class
4) Making sure that the two metrics are updated within the catch exception block of MutationState#send()
5) Unit test in PhoenixMetricsIT

FYI, [~tdsilva]


> Expose mutation failures in our metrics
> ---------------------------------------
>
>                 Key: PHOENIX-3978
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3978
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Samarth Jain
>
> We should be exposing whether a mutation has failed through our metrics system. This should be done both within global and request level metrics. 
> The task basically boils down to:
> 1) Adding a new enum MUTATION_BATCH_FAILED_COUNTER in MetricType.
> 2) Adding a new enum GLOBAL_MUTATION_BATCH_FAILED_COUNTER in GlobalClientMetrics
> 3) Adding a new CombinableMetric member called mutationBatchFailed to MutationMetric class
> 4) Making sure that the two metrics are updated within the catch exception block of MutationState#send()
> 5) Unit test in PhoenixMetricsIT
> FYI, [~tdsilva]



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