You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2018/04/07 14:07:35 UTC

[incubator-servicecomb-website] 02/02: fix style

This is an automated email from the ASF dual-hosted git repository.

ningjiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-website.git

commit f77cc474bd06b77ed8bc419e88b49d0f858c043d
Author: zhengyangyong <ya...@huawei.com>
AuthorDate: Wed Apr 4 17:11:15 2018 +0800

    fix style
    
    Signed-off-by: zhengyangyong <ya...@huawei.com>
---
 _users/cn/metrics-in-1.0.0-m1.md | 4 ++--
 _users/metrics-in-1.0.0-m1.md    | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/_users/cn/metrics-in-1.0.0-m1.md b/_users/cn/metrics-in-1.0.0-m1.md
index 124cf97..dcbbf1e 100644
--- a/_users/cn/metrics-in-1.0.0-m1.md
+++ b/_users/cn/metrics-in-1.0.0-m1.md
@@ -253,7 +253,7 @@ public class OrderController {
 
 注意事项: 
  
-1. 通过MonitorManager获取Monitor传递name和tag数组,最终输出的ID是它们连接后的字符串,所以请保持唯一性,上面的例子输出的Metrics为:
+1.通过MonitorManager获取Monitor传递name和tag数组,最终输出的ID是它们连接后的字符串,所以请保持唯一性,上面的例子输出的Metrics为:
 
 ```java
 Map<String,Double> metrics = MonitorManager.getInstance().measure();
@@ -265,7 +265,7 @@ Map<String,Double> metrics = MonitorManager.getInstance().measure();
 //	生成订单(统计项=最大生成时间,单位=MILLISECONDS)
 ```
 
-2. MonitorManager获取Monitor的方法均为**获取或创建**,因此多次传递相同的name和tag数组返回的是同一个计数器:
+2.MonitorManager获取Monitor的方法均为**获取或创建**,因此多次传递相同的name和tag数组返回的是同一个计数器:
 
 ```java
 Counter counter1 = MonitorManager.getInstance().getCounter("订单数量", "商品名", "levis jeans", "型号", "512");
diff --git a/_users/metrics-in-1.0.0-m1.md b/_users/metrics-in-1.0.0-m1.md
index 16af428..f591706 100644
--- a/_users/metrics-in-1.0.0-m1.md
+++ b/_users/metrics-in-1.0.0-m1.md
@@ -254,7 +254,7 @@ public class OrderController {
 
 Notice:
 
-1. Metric ID is join name and all tags that pass to MonitorManager when getting monitor,so please keep uniqueness,metrics output of front example are:
+1.Metric ID is join name and all tags that pass to MonitorManager when getting monitor,so please keep uniqueness,metrics output of front example are:
 
 ```java
 Map<String,Double> metrics = MonitorManager.getInstance().measure();
@@ -266,7 +266,7 @@ Map<String,Double> metrics = MonitorManager.getInstance().measure();
 //	orderGenerated(statistic=max,unit=MILLISECONDS)
 ```
 
-2. All get monitor method in MonitorManager act as **get or new**,so use same name and tags will return same one monitor:
+2.All get monitor method in MonitorManager act as **get or new**,so use same name and tags will return same one monitor:
 
 ```java
 Counter counter1 = MonitorManager.getInstance().getCounter("orderGenerated", "product", "levis jeans", "model", "512");

-- 
To stop receiving notification emails like this one, please contact
ningjiang@apache.org.