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/01/13 08:41:59 UTC

[incubator-servicecomb-website] branch asf-site updated (0b0a929 -> d061cf5)

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

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


    from 0b0a929  Publish the website
     add 6d3266f  SCB-132 fix word and add metrics write file image (#28)
     new 2b892f5  Merge branch 'master' into asf-site
     new d061cf5  Publish the web site

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 _users/cn/metrics-in-1.0.0-m1.md                        |   2 +-
 ...trics-write-file-extension-and-sample-in-1.0.0-m1.md |   9 +++++----
 assets/images/MetricsWriteFileResult.png                | Bin 0 -> 59021 bytes
 content/assets/images/MetricsWriteFileResult.png        | Bin 0 -> 59021 bytes
 content/cn/users/metrics-in-1.0.0-m1/index.html         |   2 +-
 .../index.html                                          |   9 +++++----
 content/feed.xml                                        |   2 +-
 7 files changed, 13 insertions(+), 11 deletions(-)
 create mode 100644 assets/images/MetricsWriteFileResult.png
 create mode 100644 content/assets/images/MetricsWriteFileResult.png

-- 
To stop receiving notification emails like this one, please contact
['"commits@servicecomb.apache.org" <co...@servicecomb.apache.org>'].

[incubator-servicecomb-website] 01/02: Merge branch 'master' into asf-site

Posted by ni...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 2b892f5e292f8ce698657cb2f36415c42bc02a6e
Merge: 0b0a929 6d3266f
Author: Willem Jiang <ji...@huawei.com>
AuthorDate: Sat Jan 13 16:39:32 2018 +0800

    Merge branch 'master' into asf-site

 _users/cn/metrics-in-1.0.0-m1.md                        |   2 +-
 ...trics-write-file-extension-and-sample-in-1.0.0-m1.md |   9 +++++----
 assets/images/MetricsWriteFileResult.png                | Bin 0 -> 59021 bytes
 3 files changed, 6 insertions(+), 5 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
"commits@servicecomb.apache.org" <co...@servicecomb.apache.org>.

[incubator-servicecomb-website] 02/02: Publish the web site

Posted by ni...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit d061cf59485315c081e5a4b788aea5adf44b243c
Author: Willem Jiang <ji...@huawei.com>
AuthorDate: Sat Jan 13 16:41:43 2018 +0800

    Publish the web site
---
 content/assets/images/MetricsWriteFileResult.png        | Bin 0 -> 59021 bytes
 content/cn/users/metrics-in-1.0.0-m1/index.html         |   2 +-
 .../index.html                                          |   9 +++++----
 content/feed.xml                                        |   2 +-
 4 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/content/assets/images/MetricsWriteFileResult.png b/content/assets/images/MetricsWriteFileResult.png
new file mode 100644
index 0000000..28a2449
Binary files /dev/null and b/content/assets/images/MetricsWriteFileResult.png differ
diff --git a/content/cn/users/metrics-in-1.0.0-m1/index.html b/content/cn/users/metrics-in-1.0.0-m1/index.html
index 83345e6..7d11d13 100644
--- a/content/cn/users/metrics-in-1.0.0-m1/index.html
+++ b/content/cn/users/metrics-in-1.0.0-m1/index.html
@@ -959,7 +959,7 @@
   </tbody>
 </table>
 
-<p><strong>当Level的值是“instance”的时候,代表微服务事例级别的Metric,否则代表微服务具体Operation的Metric,operationName使用的是Java Chassis MicroserviceQualifiedName,它是微服务名.SchemaID.操作方法名的组合。</strong></p>
+<p><strong>当Level的值是“instance”的时候,代表微服务实例级别的Metric,否则代表微服务具体Operation的Metric,operationName使用的是Java Chassis MicroserviceQualifiedName,它是微服务名.SchemaID.操作方法名的组合。</strong></p>
 
 <h2 id="如何配置">如何配置</h2>
 <h3 id="全局配置">全局配置</h3>
diff --git a/content/cn/users/metrics-write-file-extension-and-sample-in-1.0.0-m1/index.html b/content/cn/users/metrics-write-file-extension-and-sample-in-1.0.0-m1/index.html
index 679e497..49740ca 100644
--- a/content/cn/users/metrics-write-file-extension-and-sample-in-1.0.0-m1/index.html
+++ b/content/cn/users/metrics-write-file-extension-and-sample-in-1.0.0-m1/index.html
@@ -674,7 +674,7 @@
 
 <h2 id="依赖和代码使用">依赖和代码使用</h2>
 <ol>
-  <li>首先需要引入metrics-write-file模块,这个模块包括了获取Metrics数据并转化为指定格式后写文件的逻辑:
+  <li>首先需要引入metrics-write-file模块,这个模块包含了获取Metrics数据并转化为指定格式后写文件的逻辑:
     <div class="language-xml highlighter-rouge"><pre class="highlight"><code> <span class="nt">&lt;dependency&gt;</span>
    <span class="nt">&lt;groupId&gt;</span>io.servicecomb.samples<span class="nt">&lt;/groupId&gt;</span>
    <span class="nt">&lt;artifactId&gt;</span>metrics-write-file<span class="nt">&lt;/artifactId&gt;</span>
@@ -683,8 +683,8 @@
     </div>
     <p><em>也可以参考其中的实现修改代码或复制代码到项目中。</em></p>
   </li>
-  <li>metrics-write-file模块不包含动态生成写文件RollingFileAppender的代码,根据项目实际使用的日志实现,如果是log4j,拷贝metrics-write-file-log4j-springboot模块中的Log4JMetricsFileWriter,如果是log4j2,拷贝metrics-write-file-log4j2-springboot模块中的Log4J2MetricsFileWriter。
-  <em>也可以参考其中的实现修改代码或自己实现FileWriter。</em></li>
+  <li>metrics-write-file模块不包含动态生成写文件RollingFileAppender的代码,根据项目实际使用的日志实现,如果是log4j,拷贝metrics-write-file-log4j-springboot模块中的Log4JMetricsFileWriter,如果是log4j2,拷贝metrics-write-file-log4j2-springboot模块中的Log4J2MetricsFileWriter。  <br />
+<em>也可以参考其中的实现修改代码或自己实现FileWriter。</em></li>
 </ol>
 
 <h2 id="使用spring-boot-starter开发注意事项">使用Spring Boot Starter开发注意事项</h2>
@@ -711,7 +711,8 @@
 <p>Spring Boot Starter中包含了log4j-over-slf4j,这个Log Bridge并没有完全实现log4j的所有接口,包括RollingFileAppender,所以我们需要排除它让slf4j直接调用log4j而不是这个Log Bridge,请确定这种排除对你的系统不会有影响,关于log4j-over-slf4j的更多信息可以参考<a href="https://www.slf4j.org/legacy.html#log4j-over-slf4j">这篇文章</a>。</p>
 
 <h2 id="运行示例">运行示例</h2>
-<p>metrics-write-file-config-log4j-springboot和metrics-write-file-config-log4j2-springboot都是可以直接运行的示例项目,使用ServiceApplication启动完成后,观察输出目录target/metric/下会生成很多Metrics文件,如果在浏览器中刷新几下http://localhost:8080/f 请求,则可以看到对应的Operation级别的Metrics文件也会在目录下自动生成。</p>
+<p>metrics-write-file-config-log4j-springboot和metrics-write-file-config-log4j2-springboot都是可以直接运行的示例项目,使用ServiceApplication启动完成后,观察输出目录target/metric/下会生成很多Metrics文件,如果在浏览器中刷新几下http://localhost:8080/f 请求,则可以看到对应的Operation级别的Metrics文件也会在目录下自动生成。  <br />
+<img src="/assets/images/MetricsWriteFileResult.png" alt="MetricsWriteFileResult" /></p>
 
 <h2 id="q--a">Q &amp; A</h2>
 <ol>
diff --git a/content/feed.xml b/content/feed.xml
index 17ba4b3..f17c1d2 100644
--- a/content/feed.xml
+++ b/content/feed.xml
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.4.3">Jekyll</generator><link href="/feed.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" /><updated>2018-01-12T17:44:26+08:00</updated><id>/</id><title type="html">Apache ServiceComb (incubating)</title><subtitle>The homepage of ServiceComb</subtitle><author><name>{&quot;name&quot;=&gt;nil, &quot;avatar&quot;=&gt; [...]
+<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.4.3">Jekyll</generator><link href="/feed.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" /><updated>2018-01-13T16:40:22+08:00</updated><id>/</id><title type="html">Apache ServiceComb (incubating)</title><subtitle>The homepage of ServiceComb</subtitle><author><name>{&quot;name&quot;=&gt;nil, &quot;avatar&quot;=&gt; [...]
 
 &lt;p&gt;Java Chassis uses zipkin as the default tracing implementation.&lt;/p&gt;
 

-- 
To stop receiving notification emails like this one, please contact
"commits@servicecomb.apache.org" <co...@servicecomb.apache.org>.