This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch cn-site
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/cn-site by this push:
new db88e6a5330 deploy: 040905400f0686d635732b464761beedca5aa654
db88e6a5330 is described below
commit db88e6a53300fe36e49c7486455f7cb4c39f8533
Author: AlbumenJ <[email protected]>
AuthorDate: Wed Sep 11 09:04:11 2024 +0000
deploy: 040905400f0686d635732b464761beedca5aa654
---
css/app.css | 2 +-
css/chunk-vendors.css | 2 +-
js/app.js | 3 +-
js/chunk-vendors.js | 37 +---------------------
sitemap.xml | 2 +-
.../overview/tasks/observability/tracing/index.xml | 2 +-
.../observability/tracing/skywalking/index.html | 8 ++---
zh-cn/sitemap.xml | 2 +-
8 files changed, 11 insertions(+), 47 deletions(-)
diff --git a/css/app.css b/css/app.css
index 44c2a2c2469..b9457c8de14 100644
--- a/css/app.css
+++ b/css/app.css
@@ -1 +1 @@
-h3[data-v-76eccb7f]{margin:40px 0
0}ul[data-v-76eccb7f]{list-style-type:none;padding:0}li[data-v-76eccb7f]{display:inline-block;margin:0
10px}a[data-v-76eccb7f]{color:#42b983}.form-layout[data-v-76eccb7f]{display:flex;justify-content:space-between;align-items:flex-start}.left-form[data-v-76eccb7f]{flex:1;max-width:calc(50%
-
20px);margin-right:20px}.right-text[data-v-76eccb7f]{flex-shrink:0;width:calc(50%
- 20px)}.left-form
.el-form-item__label[data-v-76eccb7f]{text-align:left}.left-form [...]
\ No newline at end of file
+/*Respond to static link checks, which will be dynamically replaced at build
time*/
\ No newline at end of file
diff --git a/css/chunk-vendors.css b/css/chunk-vendors.css
index 61c66238ea8..b9457c8de14 100644
--- a/css/chunk-vendors.css
+++ b/css/chunk-vendors.css
@@ -1 +1 @@
-@font-face{font-family:element-icons;src:url(../fonts/element-icons.ff18efd1.woff)
format("woff"),url(../fonts/element-icons.f1a45d74.ttf)
format("truetype");font-weight:400;font-display:"auto";font-style:normal}[class*="
el-icon-"],[class^=el-icon-]{font-family:element-icons!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;vertical-align:baseline;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:gr
[...]
\ No newline at end of file
+/*Respond to static link checks, which will be dynamically replaced at build
time*/
\ No newline at end of file
diff --git a/js/app.js b/js/app.js
index 805388630fb..069248774b1 100644
--- a/js/app.js
+++ b/js/app.js
@@ -1,2 +1 @@
-(function(){"use strict";var t={9763:function(t,e,s){var
r=s(2856),l=function(){var t=this,e=t._self._c;return
e("div",{attrs:{id:"app"}},[e("el-row",[e("el-col",{attrs:{span:24}},[e("div",{staticStyle:{"font-size":"30px"}},[t._v("Dubbo
基准测试")])])],1),e("el-row",[e("el-col",{attrs:{span:24}},[e("div",{staticStyle:{"font-size":"15px","text-align":"right"}},[e("a",{attrs:{target:"_blank",href:"https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-
[...]
-//# sourceMappingURL=app.2fc17dfd.js.map
\ No newline at end of file
+// Respond to static link checks, which will be dynamically replaced at build
time
\ No newline at end of file
diff --git a/js/chunk-vendors.js b/js/chunk-vendors.js
index a9d537dad2a..069248774b1 100644
--- a/js/chunk-vendors.js
+++ b/js/chunk-vendors.js
@@ -1,36 +1 @@
-(self["webpackChunkdubbo_benchmark"]=self["webpackChunkdubbo_benchmark"]||[]).push([[504],{1656:function(e,t,n){"use
strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof
e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof
__VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&& [...]
-/**
- * @license
- * Lodash <https://lodash.com/>
- * Copyright JS Foundation and other contributors <https://js.foundation/>
- * Released under MIT license <https://lodash.com/license>
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters &
Editors
- */(function(){var o,a="4.17.10",s=200,l="Unsupported core-js use. Try
https://npms.io/search?q=ponyfill.",u="Expected a
function",c="__lodash_hash_undefined__",h=500,d="__lodash_placeholder__",p=1,f=2,g=4,v=1,m=2,y=1,b=2,_=4,x=8,w=16,S=32,C=64,k=128,M=256,T=512,D=30,I="...",O=800,A=16,E=1,P=2,L=3,N=1/0,R=9007199254740991,$=17976931348623157e292,z=NaN,V=4294967295,F=V-1,B=V>>>1,j=[["ary",k],["bind",y],["bindKey",b],["curry",x],["curryRight",w],["flip",T],["partial",S],["partialRight",C],
[...]
-/*!
- * jQuery JavaScript Library v3.7.1
- * https://jquery.com/
- *
- * Copyright OpenJS Foundation and other contributors
- * Released under the MIT license
- * https://jquery.org/license
- *
- * Date: 2023-08-28T13:37Z
- */
-function(t,n){"use strict";"object"===typeof
e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new
Error("jQuery requires a window with a document");return
n(e)}:n(t)}("undefined"!==typeof window?window:this,(function(n,o){"use
strict";var a=[],s=Object.getPrototypeOf,l=a.slice,u=a.flat?function(e){return
a.flat.call(e)}:function(e){return
a.concat.apply([],e)},c=a.push,h=a.indexOf,d={},p=d.toString,f=d.hasOwnProperty,g=f.toString,v=g.call(Object),m={},y=function(e)
[...]
-/**
- * Checks if an event is supported in the current execution environment.
- *
- * NOTE: This will not work correctly for non-generic events such as `change`,
- * `reset`, `load`, `error`, and `select`.
- *
- * Borrows from Modernizr.
- *
- * @param {string} eventNameSuffix Event name, e.g. "click".
- * @param {?boolean} capture Check if the capture phase is supported.
- * @return {boolean} True if the event is supported.
- * @internal
- * @license Modernizr 3.0.0pre (Custom Build) | MIT
- */
-function o(e,t){if(!r.canUseDOM||t&&!("addEventListener"in
document))return!1;var n="on"+e,o=n in document;if(!o){var
a=document.createElement("div");a.setAttribute(n,"return;"),o="function"===typeof
a[n]}return!o&&i&&"wheel"===e&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}r.canUseDOM&&(i=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=o},9030:function(e,t,n){"use
strict";var i=n(8656),r=n(2021),o= [...]
-//# sourceMappingURL=chunk-vendors.b9af8132.js.map
\ No newline at end of file
+// Respond to static link checks, which will be dynamically replaced at build
time
\ No newline at end of file
diff --git a/sitemap.xml b/sitemap.xml
index 7e1fdd3f758..f0e5f9659d1 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://cn.dubbo.apache.org/zh-cn/sitemap.xml</loc><lastmod>2024-09-09T14:56:12+08:00</lastmod></sitemap><sitemap><loc>https://cn.dubbo.apache.org/en/sitemap.xml</loc><lastmod>2024-08-09T15:10:01+08:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://cn.dubbo.apache.org/zh-cn/sitemap.xml</loc><lastmod>2024-09-11T16:59:22+08:00</lastmod></sitemap><sitemap><loc>https://cn.dubbo.apache.org/en/sitemap.xml</loc><lastmod>2024-08-09T15:10:01+08:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file
diff --git a/zh-cn/overview/tasks/observability/tracing/index.xml
b/zh-cn/overview/tasks/observability/tracing/index.xml
index a6a2e987ca1..0a283745ff4 100644
--- a/zh-cn/overview/tasks/observability/tracing/index.xml
+++ b/zh-cn/overview/tasks/observability/tracing/index.xml
@@ -219,7 +219,7 @@
<p>首先,我们假设你已经有一个注册中心来协调地址发现,具体可参见示例里指向的注册中心配置。</p>
<p>之后,启动 Provider 和 Consumer 并确保 skywalking-agent 参数被正确设置,skywalking-agent
确保数据可以被正确的上报到后台系统。</p>
<ul>
-<li>考虑到 skywalking-agent 本身也有内置的 Dubbo 拦截器,为了确保示例能使用 Dubbo 自带的 Micrometer
集成,我么你需要删除 skywalking-agent 自带的拦截器,直接将 <code>plugins</code> 目录删除即可</li>
+<li>考虑到 skywalking-agent 本身也有内置的 Dubbo 拦截器,为了确保示例能使用 Dubbo 自带的 Micrometer
集成,我们需要你删除 skywalking-agent 自带的拦截器,直接将 <code>plugins</code> 目录删除即可</li>
<li>配置 Skywalking OAP 服务器地址,在以下文件中配置 OAP 地址
<code>/path/to/skywalking-agent/agent.config</code>,对应的参数项为
<code>collector.backend_service</code>。</li>
</ul>
<div class="highlight"><pre tabindex="0"
style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-shell" data-lang="shell"><span
style="display:flex;"><span>java
-javaagent:/path/to/skywalking-agent/skywalking-agent.jar -jar
dubbo-samples-spring-boot-tracing-skwalking-provider-1.0-SNAPSHOT.jar
diff --git a/zh-cn/overview/tasks/observability/tracing/skywalking/index.html
b/zh-cn/overview/tasks/observability/tracing/skywalking/index.html
index e0f9d5f21f9..b6dbacee3fd 100644
--- a/zh-cn/overview/tasks/observability/tracing/skywalking/index.html
+++ b/zh-cn/overview/tasks/observability/tracing/skywalking/index.html
@@ -2,10 +2,10 @@
<meta property="og:description" content="本文演示如何将 Dubbo 接入 Skywalking
全链路监控体系,完整示例请参考 dubbo-samples-tracing-skywalking。依赖的 Skywalking Agent 版本为
skywalking micrometer-1.10 api.
1. 添加 Micrometer Observation 依赖到你的项目 为了能够将 Micrometer 及相关 Metrics 依赖添加到
classpath,需要增加 dubbo-metrics-api 依赖,如下所示:
<dependency> <groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-metrics-api</artifactId> </dependency> 2. 添加 Skywalking
Micrometer-1.10 Api 到项目 为了将 Dubbo Micrometer tracing 数据集成到 Skywalking,需要添加以下依赖。
-<dependency> <groupId>org.apache.skywalking</groupId>
<artifactId>apm-toolkit-micrometer-1.10</artifactId> </dependency> 3. 配置
ObservationRegistry @Configuration public class ObservationConfiguration {
@Bean ApplicationModel applicationModel(ObservationRegistry
observationRegistry) { ApplicationModel applicationModel =
ApplicationModel.defaultModel(); observationRegistry.observationConfig()
.observationHandler(new
ObservationHandler.FirstMatchingCompositeObservationHandler( new Skywalkin [...]
+<dependency> <groupId>org.apache.skywalking</groupId>
<artifactId>apm-toolkit-micrometer-1.10</artifactId> </dependency> 3. 配置
ObservationRegistry @Configuration public class ObservationConfiguration {
@Bean ApplicationModel applicationModel(ObservationRegistry
observationRegistry) { ApplicationModel applicationModel =
ApplicationModel.defaultModel(); observationRegistry.observationConfig()
.observationHandler(new
ObservationHandler.FirstMatchingCompositeObservationHandler( new Skywalkin [...]
1. 添加 Micrometer Observation 依赖到你的项目 为了能够将 Micrometer 及相关 Metrics 依赖添加到
classpath,需要增加 dubbo-metrics-api 依赖,如下所示:
<dependency> <groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-metrics-api</artifactId> </dependency> 2. 添加 Skywalking
Micrometer-1.10 Api 到项目 为了将 Dubbo Micrometer tracing 数据集成到 Skywalking,需要添加以下依赖。
-<dependency> <groupId>org.apache.skywalking</groupId>
<artifactId>apm-toolkit-micrometer-1.10</artifactId> </dependency> 3. 配置
ObservationRegistry @Configuration public class ObservationConfiguration {
@Bean ApplicationModel applicationModel(ObservationRegistry
observationRegistry) { ApplicationModel applicationModel =
ApplicationModel.defaultModel(); observationRegistry.observationConfig()
.observationHandler(new
ObservationHandler.FirstMatchingCompositeObservationHandler( new Skywalkin [...]
+<dependency> <groupId>org.apache.skywalking</groupId>
<artifactId>apm-toolkit-micrometer-1.10</artifactId> </dependency> 3. 配置
ObservationRegistry @Configuration public class ObservationConfiguration {
@Bean ApplicationModel applicationModel(ObservationRegistry
observationRegistry) { ApplicationModel applicationModel =
ApplicationModel.defaultModel(); observationRegistry.observationConfig()
.observationHandler(new
ObservationHandler.FirstMatchingCompositeObservationHandler( new Skywalkin [...]
1. 添加 Micrometer Observation 依赖到你的项目 为了能够将 Micrometer 及相关 Metrics 依赖添加到
classpath,需要增加 dubbo-metrics-api 依赖,如下所示:
<dependency> <groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-metrics-api</artifactId> </dependency> 2. 添加 Skywalking
Micrometer-1.10 Api 到项目 为了将 Dubbo Micrometer tracing 数据集成到 Skywalking,需要添加以下依赖。
<dependency> <groupId>org.apache.skywalking</groupId>
<artifactId>apm-toolkit-micrometer-1.10</artifactId> </dependency> 3. 配置
ObservationRegistry @Configuration public class ObservationConfiguration {
@Bean ApplicationModel applicationModel(ObservationRegistry
observationRegistry) { ApplicationModel applicationModel =
ApplicationModel.defaultModel(); observationRegistry.observationConfig()
.observationHandler(new
ObservationHandler.FirstMatchingCompositeObservationHandler( new Skywalkin [...]
@@ -722,12 +722,12 @@
</span></span><span style=display:flex><span> }
</span></span><span style=display:flex><span>}
</span></span></code></pre></div><h2 id=4-启动-skywalking-oap>4. 启动 Skywalking
OAP</h2><p>请参考这里了解如何 <a
href=https://skywalking.apache.org/docs/main/latest/en/setup/backend/backend-setup/>设置
Skywalking OAP</a></p><div class=highlight><pre tabindex=0
style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-shell data-lang=shell><span style=display:flex><span>bash
startup.sh
-</span></span></code></pre></div><h2 id=5-启动示例-demo-skywalking-agent>5. 启动示例
Demo
(skywalking-agent)</h2><p>首先,我们假设你已经有一个注册中心来协调地址发现,具体可参见示例里指向的注册中心配置。</p><p>之后,启动
Provider 和 Consumer 并确保 skywalking-agent 参数被正确设置,skywalking-agent
确保数据可以被正确的上报到后台系统。</p><ul><li>考虑到 skywalking-agent 本身也有内置的 Dubbo 拦截器,为了确保示例能使用
Dubbo 自带的 Micrometer 集成,我么你需要删除 skywalking-agent 自带的拦截器,直接将
<code>plugins</code> 目录删除即可</li><li>配置 Skywalking OAP 服务器地址,在以下文件中配置 OAP 地址
<code>/path/to/skywalking-agent/agent.config</c [...]
+</span></span></code></pre></div><h2 id=5-启动示例-demo-skywalking-agent>5. 启动示例
Demo
(skywalking-agent)</h2><p>首先,我们假设你已经有一个注册中心来协调地址发现,具体可参见示例里指向的注册中心配置。</p><p>之后,启动
Provider 和 Consumer 并确保 skywalking-agent 参数被正确设置,skywalking-agent
确保数据可以被正确的上报到后台系统。</p><ul><li>考虑到 skywalking-agent 本身也有内置的 Dubbo 拦截器,为了确保示例能使用
Dubbo 自带的 Micrometer 集成,我们需要你删除 skywalking-agent 自带的拦截器,直接将
<code>plugins</code> 目录删除即可</li><li>配置 Skywalking OAP 服务器地址,在以下文件中配置 OAP 地址
<code>/path/to/skywalking-agent/agent.config</c [...]
</span></span></code></pre></div><div class=highlight><pre tabindex=0
style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-shell data-lang=shell><span style=display:flex><span>java
-javaagent:/path/to/skywalking-agent/skywalking-agent.jar -jar
dubbo-samples-spring-boot-tracing-skwalking-consumer-1.0-SNAPSHOT.jar
</span></span></code></pre></div><h2 id=6-示例效果>6. 示例效果</h2><p>在浏览器中打开
<code>[skywalking-webapp](http://localhost:8080/)</code> 查看效果</p><p><img
src=/imgs/v3/tasks/observability/tracing/skywalking-trace-result-1.png
alt=skywalking-trace-result-1>
<img src=/imgs/v3/tasks/observability/tracing/skywalking-trace-result-2.png
alt=skywalking-trace-result-2>
<img src=/imgs/v3/tasks/observability/tracing/skywalking-trace-result-3.png
alt=skywalking-trace-result-2></p><div id=pre-footer><h2>反馈</h2><p
class=feedback--prompt>此页是否对您有帮助?</p><button class="btn btn-primary mb-4
feedback--yes">是</button>
-<button class="btn btn-primary mb-4
feedback--no">否</button></div><script>const
yes=document.querySelector(".feedback--yes"),no=document.querySelector(".feedback--no");document.querySelectorAll(".feedback--link").forEach(e=>{e.href=e.href+window.location.pathname});const
sendFeedback=e=>{gtag||console.log("!gtag"),gtag("event","click",{event_category:"Helpful",event_label:window.location.pathname,value:e})},disableButtons=()=>{yes.disabled=!0,yes.classList.add("feedback--button__disabled
[...]
+<button class="btn btn-primary mb-4
feedback--no">否</button></div><script>const
yes=document.querySelector(".feedback--yes"),no=document.querySelector(".feedback--no");document.querySelectorAll(".feedback--link").forEach(e=>{e.href=e.href+window.location.pathname});const
sendFeedback=e=>{gtag||console.log("!gtag"),gtag("event","click",{event_category:"Helpful",event_label:window.location.pathname,value:e})},disableButtons=()=>{yes.disabled=!0,yes.classList.add("feedback--button__disabled
[...]
<a
href="https://github.com/apache/dubbo-website/new/master/content/zh-cn/overview/tasks/observability/tracing/skywalking.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+
[...]
<a href="https://github.com/apache/dubbo-website/issues/new?title=Skywalking"
target=_blank><i class="fab fa-github fa-fw"></i> 登记问题</a>
<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas
fa-tasks fa-fw"></i> 提交项目问题</a></div><nav id=TableOfContents><ul><li><a
href=#1-添加-micrometer-observation-依赖到你的项目>1. 添加 Micrometer Observation
依赖到你的项目</a></li><li><a href=#2-添加-skywalking-micrometer-110-api-到项目>2. 添加
Skywalking Micrometer-1.10 Api 到项目</a></li><li><a
href=#3-配置-observationregistry>3. 配置 ObservationRegistry</a></li><li><a
href=#4-启动-skywalking-oap>4. 启动 Skywalking OAP</a></li><li><a href=#5-启动示例 [...]
\ No newline at end of file
diff --git a/zh-cn/sitemap.xml b/zh-cn/sitemap.xml
index 848ee0523ad..c145232454d 100644
--- a/zh-cn/sitemap.xml
+++ b/zh-cn/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://cn.dubbo.apache.org/zh-cn/blog/2023/01/16/%E9%98%BF%E9%87%8C%E5%B7%B4%E5%B7%B4%E5%8D%87%E7%BA%A7-dubbo3-%E5%85%A8%E9%9D%A2%E5%8F%96%E4%BB%A3-hsf2/</loc><lastmod>2023-11-28T15:14:12+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority></url><url><loc>https://cn.dubbo.apache.org/zh-cn/overview/mannu
[...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://cn.dubbo.apache.org/zh-cn/blog/2023/01/16/%E9%98%BF%E9%87%8C%E5%B7%B4%E5%B7%B4%E5%8D%87%E7%BA%A7-dubbo3-%E5%85%A8%E9%9D%A2%E5%8F%96%E4%BB%A3-hsf2/</loc><lastmod>2023-11-28T15:14:12+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority></url><url><loc>https://cn.dubbo.apache.org/zh-cn/overview/mannu
[...]
\ No newline at end of file