This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch asf-site-v2
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/asf-site-v2 by this push:
new 2edf44e61f deploy: eb7b6cbe4ab8961442ab2c648c4309c873130eac
2edf44e61f is described below
commit 2edf44e61f687e983e2c6039fe02745c17779f25
Author: chickenlj <[email protected]>
AuthorDate: Mon Apr 3 14:17:26 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 cbfab564c2..3dbfdafc05 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://dubbo.apache.org/zh-cn/sitemap.xml</loc><lastmod>2023-04-03T22:00:19+08:00</lastmod></sitemap><sitemap><loc>https://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://dubbo.apache.org/zh-cn/sitemap.xml</loc><lastmod>2023-04-03T22:12:43+08:00</lastmod></sitemap><sitemap><loc>https://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 064db135eb..b1a19544bd 100644
--- a/zh-cn/overview/reference/integrations/index.xml
+++ b/zh-cn/overview/reference/integrations/index.xml
@@ -8,19 +8,10 @@
</blockquote>
<p>访问页面 <code>http://localhost:9090</code>,切换到 graph 视图。</p>
<p><img
src="https://dubbo.apache.org/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>wget
https://github.com/prometheus/prometheus/releases/download/v2.42.0/prometheus-2.42.0.linux-amd64.tar.gz
<span style="color:#719e07">&amp;&amp;</span> tar zxvf
prometheus-2.42.0.linux-amd64.tar.gz <span
style="color:#719e07">&amp;&amp;< [...]
-</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</code> 注解的 Dubbo Pod 实例,并将它们列入 Scraping
实例列表。</p>
+<p>在 Kubernetes 部署模式下,使用官方社区维护的 <a
href="https://github.com/prometheus-community/helm-charts">Helm Charts 安装
Prometheus</a>,Prometheus 服务可以自动识别包含 <code>prometheus.io</code> 注解的
Dubbo Pod 实例,并将它们列入 Scraping 实例列表。</p>
<p>Dubbo 官网给出的示例即是基于 <code>prometheus.io</code> 注解实现了 scraping target
地址的自动发现,具体注解配置可参见示例中的 <a
href="https://github.com/apache/dubbo-samples/blob/master/4-governance/dubbo-samples-metrics-spring-boot/Deployment.yml">Deployment
资源定义</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-yaml" data-lang="yaml"><span
style="display:flex;"><span><span
style="color:#268bd2">annotations</span>:
</span></span><span style="display:flex;"><span> <span
style="color:#268bd2">prometheus.io/scrape</span>: <span
style="color:#2aa198">&#34;true&#34;</span>
diff --git a/zh-cn/overview/reference/integrations/prometheus/index.html
b/zh-cn/overview/reference/integrations/prometheus/index.html
index 042d3d7a4e..aa26720448 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://dubbo.apache.org/zh-cn/overview/reference/integrations/prometheus/><meta
charset=utf-8><meta name=viewport
content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta
name=generator content="Hugo 0.111.3"><link rel="shortcut icon" type=image/png
href=/imgs/favicon.png><link rel=apple-touch-icon
href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link [...]
+<!doctype html><html lang=zh-cn class=no-js><head><meta name=ROBOTS
content="INDEX, FOLLOW"><link rel=canonical
href=https://dubbo.apache.org/zh-cn/overview/reference/integrations/prometheus/><meta
charset=utf-8><meta name=viewport
content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta
name=generator content="Hugo 0.111.3"><link rel="shortcut icon" type=image/png
href=/imgs/favicon.png><link rel=apple-touch-icon
href=/favicons/apple-touch-icon-180x180.png sizes=180x180><link [...]
<script>var
doNotTrack=!1;if(!doNotTrack){window.dataLayer=window.dataLayer||[];function
gtag(){dataLayer.push(arguments)}gtag("js",new
Date),gtag("config","G-1TFHM5YBH0",{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://dubbo.apache.org/zh-cn/overview/reference/integrations/prometheus/"><meta
property="og:titl [...]
<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 > /dev/null 2>&<span style=color:#2aa198>1</span> &
-</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>"true"</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>"22222"</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&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.a4534a01940be8c082c4c0e6777b61df9884f202b61c9519352adb6d1039d5aa.js
integrity="sha256-pFNKAZQL6MCCxMDmd3th35iE8gK2HJUZNSrbbRA51ao="
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 915022530b..07eda8cc76 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://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://dubbo.apache.org/zh-cn/overview/mannual/jav
[...]
\ 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://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://dubbo.apache.org/zh-cn/overview/mannual/jav
[...]
\ No newline at end of file