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

ASF GitHub Bot commented on SCB-370:
------------------------------------

zhengyangyong commented on issue #572: [SCB-370] Improve latency and max 
precision
URL: 
https://github.com/apache/incubator-servicecomb-java-chassis/pull/572#issuecomment-371125337
 
 
   
从内部MonitorRegistry获取值改为直接输出原始值不加工,之后用户使用MetricsUtils.convertMeasurements依据需求转换单位,现在已有场景:
   1./metrics Publish 使用**秒**
   2.对接Prometheus 使用毫秒
   3.perf 打印使用毫秒
   4.写文件的例子使用毫秒

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Metrics timer (like latency) output precision must to nano level not milli 
> level
> --------------------------------------------------------------------------------
>
>                 Key: SCB-370
>                 URL: https://issues.apache.org/jira/browse/SCB-370
>             Project: Apache ServiceComb
>          Issue Type: Sub-task
>          Components: Java-Chassis
>    Affects Versions: java-chassis-1.0.0-m1
>            Reporter: yangyongzheng
>            Assignee: yangyongzheng
>            Priority: Major
>             Fix For: java-chassis-1.0.0-m1
>
>
> current metrics latency default unit is MILLISECONDS and low than 1 
> milliseconds like 0.5 will return 0,we need support higher accuracy and keep 
> value after the decimal point



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

Reply via email to