You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "yangyongzheng (JIRA)" <ji...@apache.org> on 2018/02/28 08:35:00 UTC

[jira] [Commented] (SCB-353) Servicecomb当前性能统计不支持时延分布的统计,这个对于业务有重要意义

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

yangyongzheng commented on SCB-353:
-----------------------------------

We will add a new tag for latency named **bucket**

If user set **servicecomb.metrics.invocation.latency.addition = bucket**, monitor registry will auto register a set of bucket latency counter like:

 **servicecomb.metrics.invocation.latency.buckets= 50,100,500**

 **servicecomb.metrics.invocation.latency.unit= MILLISECONDS**

servicecomb.invocation(operation=calculator.calculatorRestEndpoint.calculate,role=producer,stage=total,statistic=latency,status=200,unit=MILLISECONDS)

servicecomb.invocation(operation=calculator.calculatorRestEndpoint.calculate,role=producer,bucket=050ms,stage=total,statistic=count,status=200,unit=MILLISECONDS)

servicecomb.invocation(operation=calculator.calculatorRestEndpoint.calculate,role=producer,bucket=100ms,stage=total,statistic=count,status=200,unit=MILLISECONDS)

servicecomb.invocation(operation=calculator.calculatorRestEndpoint.calculate,role=producer,bucket=500ms,stage=total,statistic=count,status=200,unit=MILLISECONDS)

servicecomb.invocation(operation=calculator.calculatorRestEndpoint.calculate,role=producer,bucket=overflow,stage=total,statistic=count,status=200,unit=MILLISECONDS)

All stage _queue,execution,total_ and all operation will be affected

 

 

> Servicecomb当前性能统计不支持时延分布的统计,这个对于业务有重要意义
> ---------------------------------------
>
>                 Key: SCB-353
>                 URL: https://issues.apache.org/jira/browse/SCB-353
>             Project: Apache ServiceComb
>          Issue Type: Task
>          Components: Java-Chassis
>    Affects Versions: java-chassis-1.0.0-m2
>            Reporter: renyingxin
>            Assignee: yangyongzheng
>            Priority: Major
>             Fix For: java-chassis-1.0.0-m2
>
>
> Servicecomb当前性能统计不支持时延分布的统计,这个对于业务有重要意义,也就是类似[0,200),[200,400)这种时延分布的统计,平均时延可能会掩盖系统的部分问题,比如部分高延时,但是被正常平均值掩盖了



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)