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 26963c8d32 deploy: eb7b6cbe4ab8961442ab2c648c4309c873130eac
26963c8d32 is described below

commit 26963c8d320120750d126e398fc1a8fc1ff949ce
Author: chickenlj <[email protected]>
AuthorDate: Mon Apr 3 14:16:39 2023 +0000

    deploy: eb7b6cbe4ab8961442ab2c648c4309c873130eac
---
 sitemap.xml                                                 |  2 +-
 zh-cn/overview/reference/integrations/index.xml             | 11 +----------
 zh-cn/overview/reference/integrations/prometheus/index.html | 10 ++++------
 zh-cn/sitemap.xml                                           |  2 +-
 4 files changed, 7 insertions(+), 18 deletions(-)

diff --git a/sitemap.xml b/sitemap.xml
index 89d44b371b..4c9bed1f21 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>2023-04-03T22:00:19+08:00</lastmod></sitemap><sitemap><loc>https://cn.dubbo.apache.org/en/sitemap.xml</loc><lastmod>2023-04-03T22:00:19+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>2023-04-03T22:12:43+08:00</lastmod></sitemap><sitemap><loc>https://cn.dubbo.apache.org/en/sitemap.xml</loc><lastmod>2023-04-03T22:00:19+08:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file
diff --git a/zh-cn/overview/reference/integrations/index.xml 
b/zh-cn/overview/reference/integrations/index.xml
index 3329defcc1..5c5cc51ebf 100644
--- a/zh-cn/overview/reference/integrations/index.xml
+++ b/zh-cn/overview/reference/integrations/index.xml
@@ -8,19 +8,10 @@
 &lt;/blockquote>
 &lt;p>访问页面 &lt;code>http://localhost:9090&lt;/code>,切换到 graph 视图。&lt;/p>
 &lt;p>&lt;img 
src="https://cn.dubbo.apache.org/imgs/v3/reference/integrations/prometheus.jpg"; 
alt="Prometheus">&lt;/p>
-&lt;h3 id="vm">VM&lt;/h3>
-&lt;p>以 Linux 为例,下载项目至本地并切换指定项目&lt;/p>
-&lt;div class="highlight">&lt;pre tabindex="0" 
style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code
 class="language-bash" data-lang="bash">&lt;span 
style="display:flex;">&lt;span>wget 
https://github.com/prometheus/prometheus/releases/download/v2.42.0/prometheus-2.42.0.linux-amd64.tar.gz
 &lt;span style="color:#719e07">&amp;amp;&amp;amp;&lt;/span> tar zxvf 
prometheus-2.42.0.linux-amd64.tar.gz &lt;span 
style="color:#719e07">&amp;amp;&amp;amp;&lt; [...]
-&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>后台运行&lt;/p>
-&lt;div class="highlight">&lt;pre tabindex="0" 
style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code
 class="language-bash" data-lang="bash">&lt;span 
style="display:flex;">&lt;span>nohup ./prometheus &amp;gt; /dev/null 
2&amp;gt;&amp;amp;&lt;span style="color:#2aa198">1&lt;/span> &amp;amp;
-&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>访问页面 
&lt;code>http://localhost:9090/graph&lt;/code> 并切换到 graph 视图。&lt;/p>
-&lt;blockquote>
-&lt;p>具体请参考 Prometheus 官方安装文档&lt;/p>
-&lt;/blockquote>
 &lt;h2 id="scrape-配置">Scrape 配置&lt;/h2>
 &lt;p>Dubbo 的每个实例都会暴露一个 http 端口用于 Metrics 采集,Prometheus 通过 scraping 每个实例的 http 
接口来采集统计数据。具体的 scraping 路径可以通过 Prometheus 配置文件进行调整,该文件控制 scraping 实例的端口、路径、TLS 
设置等。&lt;/p>
 &lt;h3 id="kubernetes-注解约定">Kubernetes 注解约定&lt;/h3>
-&lt;p>在 Kubernetes 部署模式下,使用官方社区维护的 Helm Charts 安装 Prometheus,Prometheus 
可以自动识别包含 &lt;code>prometheus.io&lt;/code> 注解的 Dubbo Pod 实例,并将它们列入 Scraping 
实例列表。&lt;/p>
+&lt;p>在 Kubernetes 部署模式下,使用官方社区维护的 &lt;a 
href="https://github.com/prometheus-community/helm-charts";>Helm Charts 安装 
Prometheus&lt;/a>,Prometheus 服务可以自动识别包含 &lt;code>prometheus.io&lt;/code> 注解的 
Dubbo Pod 实例,并将它们列入 Scraping 实例列表。&lt;/p>
 &lt;p>Dubbo 官网给出的示例即是基于 &lt;code>prometheus.io&lt;/code> 注解实现了 scraping target 
地址的自动发现,具体注解配置可参见示例中的 &lt;a 
href="https://github.com/apache/dubbo-samples/blob/master/4-governance/dubbo-samples-metrics-spring-boot/Deployment.yml";>Deployment
 资源定义&lt;/a>。&lt;/p>
 &lt;div class="highlight">&lt;pre tabindex="0" 
style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code
 class="language-yaml" data-lang="yaml">&lt;span 
style="display:flex;">&lt;span>&lt;span 
style="color:#268bd2">annotations&lt;/span>:
 &lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span 
style="color:#268bd2">prometheus.io/scrape&lt;/span>: &lt;span 
style="color:#2aa198">&amp;#34;true&amp;#34;&lt;/span>
diff --git a/zh-cn/overview/reference/integrations/prometheus/index.html 
b/zh-cn/overview/reference/integrations/prometheus/index.html
index 833df8240a..2d23bb459c 100644
--- a/zh-cn/overview/reference/integrations/prometheus/index.html
+++ b/zh-cn/overview/reference/integrations/prometheus/index.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=zh-cn class=no-js><head><meta name=ROBOTS 
content="INDEX, FOLLOW"><link rel=canonical 
href=https://cn.dubbo.apache.org/zh-cn/overview/reference/integrations/prometheus/><script>var
 _hmt=_hmt||[];(function(){var 
e,t=document.createElement("script");t.src="https://hm.baidu.com/hm.js?3b78f49ba47181e4d998a66b689446e9",e=document.getElementsByTagName("script")[0],e.parentNode.insertBefore(t,e)})()</script><meta
 charset=utf-8><meta name=viewport content="width=device- [...]
+<!doctype html><html lang=zh-cn class=no-js><head><meta name=ROBOTS 
content="INDEX, FOLLOW"><link rel=canonical 
href=https://cn.dubbo.apache.org/zh-cn/overview/reference/integrations/prometheus/><script>var
 _hmt=_hmt||[];(function(){var 
e,t=document.createElement("script");t.src="https://hm.baidu.com/hm.js?3b78f49ba47181e4d998a66b689446e9",e=document.getElementsByTagName("script")[0],e.parentNode.insertBefore(t,e)})()</script><meta
 charset=utf-8><meta name=viewport content="width=device- [...]
 <script>var 
doNotTrack=!1;if(!doNotTrack){window.dataLayer=window.dataLayer||[];function 
gtag(){dataLayer.push(arguments)}gtag("js",new 
Date),gtag("config","G-NM6FFMT51J",{anonymize_ip:!1})}</script><link 
rel=preload 
href=/scss/main.min.578ffe330fde90c98ec1a836a78e3a4f7ea2a73a72f353cdd331fc3f8dd3a3cd.css
 as=style><link 
href=/scss/main.min.578ffe330fde90c98ec1a836a78e3a4f7ea2a73a72f353cdd331fc3f8dd3a3cd.css
 rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js 
integrity="sha256-9/a [...]
 <link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3><meta 
name=theme-color content="#326ce5"><link rel=stylesheet 
href=/css/feature-states.css><meta name=description content="配置 Prometheus 与 
Dubbo 一起工作"><meta property="og:description" content="配置 Prometheus 与 Dubbo 
一起工作"><meta name=twitter:description content="配置 Prometheus 与 Dubbo 一起工作"><meta 
property="og:url" 
content="https://cn.dubbo.apache.org/zh-cn/overview/reference/integrations/prometheus/";><meta
 property="og:t [...]
 <link href=/css/community.css rel=stylesheet><link href=/css/contactus.css 
rel=stylesheet><link href=/css/language.css rel=stylesheet><script 
src=/js/script.js></script></head><body class="td-page 
td-documentation"><header><nav class="js-navbar-scroll navbar navbar-expand 
navbar-dark flex-column flex-md-row td-navbar" data-auto-burger=primary><a 
class=navbar-brand href=/zh-cn/><span class=navbar-logo></span><span 
class="text-uppercase font-weight-bold">Apache Dubbo</span></a><div class=" 
[...]
@@ -726,9 +726,7 @@
 <label for=m-zh-cnoverviewreferenceproposalsmetrics-check><a 
href=/zh-cn/overview/reference/proposals/metrics/ class="align-left pl-0 
td-sidebar-link td-sidebar-link__page" 
id=m-zh-cnoverviewreferenceproposalsmetrics><span>指标埋点</span></a></label></li><li
 class="td-sidebar-nav__section-title td-sidebar-nav__section without-child" 
id=m-zh-cnoverviewreferenceproposalsheuristic-flow-control-li><input 
type=checkbox id=m-zh-cnoverviewreferenceproposalsheuristic-flow-control-check>
 <label for=m-zh-cnoverviewreferenceproposalsheuristic-flow-control-check><a 
href=/zh-cn/overview/reference/proposals/heuristic-flow-control/ 
title=自适应负载均衡与限流 class="align-left pl-0 td-sidebar-link td-sidebar-link__page" 
id=m-zh-cnoverviewreferenceproposalsheuristic-flow-control><span>服务柔性</span></a></label></li><li
 class="td-sidebar-nav__section-title td-sidebar-nav__section without-child" 
id=m-zh-cnoverviewreferenceproposalsservice-discovery-li><input type=checkbox 
id=m-zh-cnoverviewref [...]
 <label for=m-zh-cnoverviewreferenceproposalsservice-discovery-check><a 
href=/zh-cn/overview/reference/proposals/service-discovery/ title="Dubbo3 
应用级服务发现设计" class="align-left pl-0 td-sidebar-link td-sidebar-link__page" 
id=m-zh-cnoverviewreferenceproposalsservice-discovery><span>应用级服务发现</span></a></label></li></ul></li></ul></li></ul></li></ul></nav></div></div><main
 class="col-12 col-md-9 col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb 
class=td-breadcrumbs><ol class=breadcrumb><li  [...]
-</span></span></code></pre></div><blockquote><p>本安装仅适用于测试或体验使用,生产级别的安装请参考 
Prometheus 官方安装文档。</p></blockquote><p>访问页面 
<code>http://localhost:9090</code>,切换到 graph 视图。</p><p><img 
src=/imgs/v3/reference/integrations/prometheus.jpg alt=Prometheus></p><h3 
id=vm>VM</h3><p>以 Linux 为例,下载项目至本地并切换指定项目</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-bash data-lang=bash><span style=display:flex><span>w [...]
-</span></span></code></pre></div><p>后台运行</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-bash data-lang=bash><span style=display:flex><span>nohup 
./prometheus &gt; /dev/null 2&gt;&amp;<span style=color:#2aa198>1</span> &amp;
-</span></span></code></pre></div><p>访问页面 
<code>http://localhost:9090/graph</code> 并切换到 graph 视图。</p><blockquote><p>具体请参考 
Prometheus 官方安装文档</p></blockquote><h2 id=scrape-配置>Scrape 配置</h2><p>Dubbo 
的每个实例都会暴露一个 http 端口用于 Metrics 采集,Prometheus 通过 scraping 每个实例的 http 
接口来采集统计数据。具体的 scraping 路径可以通过 Prometheus 配置文件进行调整,该文件控制 scraping 实例的端口、路径、TLS 
设置等。</p><h3 id=kubernetes-注解约定>Kubernetes 注解约定</h3><p>在 Kubernetes 
部署模式下,使用官方社区维护的 Helm Charts 安装 Prometheus,Prometheus 可以自动识别包含 
<code>prometheus.io</co [...]
+</span></span></code></pre></div><blockquote><p>本安装仅适用于测试或体验使用,生产级别的安装请参考 
Prometheus 官方安装文档。</p></blockquote><p>访问页面 
<code>http://localhost:9090</code>,切换到 graph 视图。</p><p><img 
src=/imgs/v3/reference/integrations/prometheus.jpg alt=Prometheus></p><h2 
id=scrape-配置>Scrape 配置</h2><p>Dubbo 的每个实例都会暴露一个 http 端口用于 Metrics 采集,Prometheus 
通过 scraping 每个实例的 http 接口来采集统计数据。具体的 scraping 路径可以通过 Prometheus 配置文件进行调整,该文件控制 
scraping 实例的端口、路径、TLS 设置等。</p><h3 id=kubernetes-注解约定>Kubernetes 注解约定</h3><p>在 
Kube [...]
 </span></span><span style=display:flex><span>   <span 
style=color:#268bd2>prometheus.io/scrape</span>: <span 
style=color:#2aa198>&#34;true&#34;</span>
 </span></span><span style=display:flex><span>   <span 
style=color:#268bd2>prometheus.io/path</span>: /management/prometheus
 </span></span><span style=display:flex><span>   <span 
style=color:#268bd2>prometheus.io/port</span>: <span 
style=color:#2aa198>&#34;22222&#34;</span>
@@ -736,10 +734,10 @@
 </span></span><span style=display:flex><span>  <span 
style=color:#268bd2>http_sd_configs</span>:
 </span></span><span style=display:flex><span>    - <span 
style=color:#268bd2>url</span>: 
http://{admin-address}/api/dev/metrics/prometheus
 </span></span></code></pre></div><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/reference/integrations/prometheus.md?filename=change-me.md&amp;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+%22fr
 [...]
 <a href="https://github.com/apache/dubbo-website/issues/new?title=Prometheus"; 
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=#安装>安装</a><ul><li><a href=#kubernetes>Kubernetes</a></li><li><a 
href=#vm>VM</a></li></ul></li><li><a href=#scrape-配置>Scrape 配置</a><ul><li><a 
href=#kubernetes-注解约定>Kubernetes 注解约定</a></li><li><a 
href=#自定义配置>自定义配置</a></li></ul></li></ul></nav></div></div></div></div><footer 
class="bg-dark py-5 row d-print-none footer-margin-0"><div clas [...]
+<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=#安装>安装</a><ul><li><a href=#kubernetes>Kubernetes</a></li></ul></li><li><a 
href=#scrape-配置>Scrape 配置</a><ul><li><a href=#kubernetes-注解约定>Kubernetes 
注解约定</a></li><li><a 
href=#自定义配置>自定义配置</a></li></ul></li></ul></nav></div></div></div></div><footer 
class="bg-dark py-5 row d-print-none footer-margin-0"><div 
class="container-fluid mx-sm-5" [...]
 <script src=/js/bootstrap.min.js 
integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy
 crossorigin=anonymous></script>
 <script 
src=/js/main.min.b075178d232d3b0039b3cb6af2fc2e9d90071820167a60f4eea3a79169975ee8.js
 integrity="sha256-sHUXjSMtOwA5s8tq8vwunZAHGCAWemD07qOnkWmXXug=" 
crossorigin=anonymous></script>
 <script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
diff --git a/zh-cn/sitemap.xml b/zh-cn/sitemap.xml
index a104fe2a85..45bb269cfe 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-02-22T15:03:22+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-02-22T15:03:22+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

Reply via email to