{"id":32008,"date":"2025-01-15T15:19:44","date_gmt":"2025-01-15T07:19:44","guid":{"rendered":"https:\/\/www.yunshan.net\/blog\/?p=24432"},"modified":"2025-01-15T15:19:44","modified_gmt":"2025-01-15T07:19:44","slug":"%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8-docker-%e5%ae%b9%e5%99%a8%e9%83%a8%e7%bd%b2-prometheus%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.yunshan.net\/blog\/archives\/32008.html","title":{"rendered":"\u5982\u4f55\u4f7f\u7528 Docker \u5bb9\u5668\u90e8\u7f72 Prometheus\uff1f"},"content":{"rendered":"<p>\t\t\t\t<![CDATA[\n                \n\n<p style=\"text-align: center;\">\n\n<p><img decoding=\"async\" src=\"https:\/\/pic.zadbj010.com\/2025\/513d358f75820af.jpg\" alt=\"\u5982\u4f55\u4f7f\u7528 Docker \u5bb9\u5668\u90e8\u7f72 Prometheus\uff1f\" ><\/p>\n\n<\/p>\n\n\n\n<p>\u5728\u73b0\u4ee3\u4e91\u539f\u751f\u5e94\u7528\u548c\u5fae\u670d\u52a1\u67b6\u6784\u4e2d\uff0c\u76d1\u63a7\u7cfb\u7edf\u7684\u91cd\u8981\u6027\u4e0d\u8a00\u800c\u55bb\u3002<strong>Prometheus<\/strong> \u4f5c\u4e3a\u4e00\u6b3e\u5f00\u6e90\u7684\u76d1\u63a7\u548c\u544a\u8b66\u5de5\u5177\uff0c\u56e0\u5176\u5f3a\u5927\u7684\u6570\u636e\u91c7\u96c6\u80fd\u529b\u548c\u7075\u6d3b\u7684\u67e5\u8be2\u8bed\u8a00\uff08PromQL\uff09\uff0c\u5df2\u7ecf\u6210\u4e3a\u8bb8\u591a\u5f00\u53d1\u8005\u548c\u8fd0\u7ef4\u56e2\u961f\u7684\u9996\u9009\u3002\u7136\u800c\uff0c\u5982\u4f55\u9ad8\u6548\u5730\u90e8\u7f72\u548c\u7ba1\u7406 Prometheus \u5374\u662f\u4e00\u4e2a\u503c\u5f97\u6df1\u5165\u63a2\u8ba8\u7684\u8bdd\u9898\u3002<strong>Docker<\/strong> \u4f5c\u4e3a\u4e00\u79cd\u8f7b\u91cf\u7ea7\u7684\u5bb9\u5668\u5316\u6280\u672f\uff0c\u80fd\u591f\u663e\u8457\u7b80\u5316\u5e94\u7528\u7684\u90e8\u7f72\u6d41\u7a0b\uff0c\u63d0\u5347\u8d44\u6e90\u5229\u7528\u7387\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd<strong>\u5982\u4f55\u4f7f\u7528 Docker \u5bb9\u5668\u90e8\u7f72 Prometheus<\/strong>\uff0c\u5e2e\u52a9\u60a8\u5feb\u901f\u642d\u5efa\u4e00\u4e2a\u9ad8\u6548\u3001\u53ef\u6269\u5c55\u7684\u76d1\u63a7\u7cfb\u7edf\u3002<\/p>\n\n\n\n\n<h3>\u4e3a\u4ec0\u4e48\u9009\u62e9 Docker \u90e8\u7f72 Prometheus\uff1f<\/h3>\n\n\n\n\n<p>\u5728\u6df1\u5165\u63a2\u8ba8\u90e8\u7f72\u6b65\u9aa4\u4e4b\u524d\uff0c\u6211\u4eec\u5148\u6765\u4e86\u89e3\u4e00\u4e0b\u4e3a\u4ec0\u4e48\u9009\u62e9 Docker \u6765\u90e8\u7f72 Prometheus\u3002<strong>Docker<\/strong> \u7684\u6838\u5fc3\u4f18\u52bf\u5728\u4e8e\u5176<strong>\u8f7b\u91cf\u5316\u548c\u53ef\u79fb\u690d\u6027<\/strong>\u3002\u901a\u8fc7\u5c06 Prometheus \u53ca\u5176\u4f9d\u8d56\u9879\u6253\u5305\u5230\u4e00\u4e2a\u5bb9\u5668\u4e2d\uff0c\u60a8\u53ef\u4ee5\u8f7b\u677e\u5730\u5728\u4e0d\u540c\u7684\u73af\u5883\u4e2d\u8fd0\u884c\uff0c\u800c\u65e0\u9700\u62c5\u5fc3\u73af\u5883\u5dee\u5f02\u5e26\u6765\u7684\u517c\u5bb9\u6027\u95ee\u9898\u3002\u6b64\u5916\uff0cDocker \u7684<strong>\u8d44\u6e90\u9694\u79bb<\/strong>\u7279\u6027\u80fd\u591f\u786e\u4fdd Prometheus \u4e0e\u5176\u4ed6\u5e94\u7528\u4e92\u4e0d\u5e72\u6270\uff0c\u4ece\u800c\u63d0\u5347\u7cfb\u7edf\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\n<h3>\u51c6\u5907\u5de5\u4f5c<\/h3>\n\n\n\n\n<p>\u5728\u5f00\u59cb\u90e8\u7f72\u4e4b\u524d\uff0c\u60a8\u9700\u8981\u786e\u4fdd\u4ee5\u4e0b\u6761\u4ef6\u5df2\u7ecf\u6ee1\u8db3\uff1a<\/p>\n\n\n\n\n<ol>\n\n\n<li><strong>\u5b89\u88c5 Docker<\/strong>\uff1a\u786e\u4fdd\u60a8\u7684\u7cfb\u7edf\u5df2\u7ecf\u5b89\u88c5\u4e86 Docker\u3002\u5982\u679c\u5c1a\u672a\u5b89\u88c5\uff0c\u53ef\u4ee5\u53c2\u8003 Docker \u5b98\u65b9\u6587\u6863\u8fdb\u884c\u5b89\u88c5\u3002<\/li>\n\n\n\n\n<li><strong>\u83b7\u53d6 Prometheus \u955c\u50cf<\/strong>\uff1aDocker Hub \u4e0a\u63d0\u4f9b\u4e86\u5b98\u65b9\u7684 Prometheus \u955c\u50cf\uff0c\u60a8\u53ef\u4ee5\u76f4\u63a5\u62c9\u53d6\u4f7f\u7528\u3002<\/li>\n\n\n\n\n<li><strong>\u51c6\u5907\u914d\u7f6e\u6587\u4ef6<\/strong>\uff1aPrometheus \u9700\u8981\u4e00\u4e2a\u914d\u7f6e\u6587\u4ef6\uff08<code>prometheus.yml<\/code>\uff09\u6765\u5b9a\u4e49\u76d1\u63a7\u76ee\u6807\u548c\u89c4\u5219\u3002<\/li>\n\n\n<\/ol>\n\n\n\n\n<h3>\u6b65\u9aa4\u4e00\uff1a\u62c9\u53d6 Prometheus \u955c\u50cf<\/h3>\n\n\n\n\n<p>\u9996\u5148\uff0c\u60a8\u9700\u8981\u4ece Docker Hub \u62c9\u53d6 Prometheus \u7684\u5b98\u65b9\u955c\u50cf\u3002\u6253\u5f00\u7ec8\u7aef\u5e76\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n\n\n\n\n<pre><code class=\"language-bash\">docker pull prom\/prometheus<br \/>\n<\/code><\/pre>\n\n\n\n\n<p>\u8fd9\u6761\u547d\u4ee4\u4f1a\u4ece Docker Hub \u4e0b\u8f7d\u6700\u65b0\u7248\u672c\u7684 Prometheus \u955c\u50cf\u3002\u5982\u679c\u60a8\u9700\u8981\u7279\u5b9a\u7248\u672c\uff0c\u53ef\u4ee5\u5728\u955c\u50cf\u540d\u79f0\u540e\u52a0\u4e0a\u6807\u7b7e\uff0c\u4f8b\u5982 <code>prom\/prometheus:v2.30.0<\/code>\u3002<\/p>\n\n\n\n\n<h3>\u6b65\u9aa4\u4e8c\uff1a\u521b\u5efa Prometheus \u914d\u7f6e\u6587\u4ef6<\/h3>\n\n\n\n\n<p>Prometheus \u7684\u914d\u7f6e\u6587\u4ef6 <code>prometheus.yml<\/code> \u662f\u90e8\u7f72\u8fc7\u7a0b\u4e2d\u81f3\u5173\u91cd\u8981\u7684\u4e00\u73af\u3002\u8fd9\u4e2a\u6587\u4ef6\u5b9a\u4e49\u4e86 Prometheus \u7684\u76d1\u63a7\u76ee\u6807\u3001\u6293\u53d6\u95f4\u9694\u3001\u5b58\u50a8\u914d\u7f6e\u7b49\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u914d\u7f6e\u6587\u4ef6\u793a\u4f8b\uff1a<\/p>\n\n\n\n\n<pre><code class=\"language-yaml\">global:<br \/>\n  scrape_interval: 15s<br \/>\n<br \/>\nscrape_configs:<br \/>\n  - job_name: 'prometheus'<br \/>\n    static_configs:<br \/>\n      - targets: ['localhost:9090']<br \/>\n<\/code><\/pre>\n\n\n\n\n<p>\u5728\u8fd9\u4e2a\u914d\u7f6e\u6587\u4ef6\u4e2d\uff0c<code>scrape_interval<\/code> \u5b9a\u4e49\u4e86 Prometheus \u6293\u53d6\u6570\u636e\u7684\u65f6\u95f4\u95f4\u9694\uff0c\u800c <code>scrape_configs<\/code> \u90e8\u5206\u5219\u5b9a\u4e49\u4e86\u76d1\u63a7\u76ee\u6807\u3002\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0cPrometheus \u4f1a\u76d1\u63a7\u81ea\u8eab\uff08<code>localhost:9090<\/code>\uff09\u3002<\/p>\n\n\n\n\n<p>\u5c06\u4e0a\u8ff0\u5185\u5bb9\u4fdd\u5b58\u4e3a <code>prometheus.yml<\/code> \u6587\u4ef6\uff0c\u5e76\u786e\u4fdd\u6587\u4ef6\u8def\u5f84\u6b63\u786e\u3002<\/p>\n\n\n\n\n<h3>\u6b65\u9aa4\u4e09\uff1a\u542f\u52a8 Prometheus \u5bb9\u5668<\/h3>\n\n\n\n\n<p>\u6709\u4e86\u955c\u50cf\u548c\u914d\u7f6e\u6587\u4ef6\u540e\uff0c\u63a5\u4e0b\u6765\u5c31\u662f\u542f\u52a8 Prometheus \u5bb9\u5668\u3002\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u542f\u52a8\u5bb9\u5668\uff1a<\/p>\n\n\n\n\n<pre><code class=\"language-bash\">docker run -d \\<br \/>\n  --name prometheus \\<br \/>\n  -p 9090:9090 \\<br \/>\n  -v \/path\/to\/prometheus.yml:\/etc\/prometheus\/prometheus.yml \\<br \/>\n  prom\/prometheus<br \/>\n<\/code><\/pre>\n\n\n\n\n<p>\u89e3\u91ca\u4e00\u4e0b\u8fd9\u6761\u547d\u4ee4\u7684\u5404\u4e2a\u90e8\u5206\uff1a<\/p>\n\n\n\n\n<ul>\n\n\n<li><code>-d<\/code>\uff1a\u4ee5\u5b88\u62a4\u8fdb\u7a0b\u6a21\u5f0f\u8fd0\u884c\u5bb9\u5668\u3002<\/li>\n\n\n\n\n<li><code>--name prometheus<\/code>\uff1a\u4e3a\u5bb9\u5668\u6307\u5b9a\u4e00\u4e2a\u540d\u79f0\uff0c\u65b9\u4fbf\u540e\u7eed\u7ba1\u7406\u3002<\/li>\n\n\n\n\n<li><code>-p 9090:9090<\/code>\uff1a\u5c06\u5bb9\u5668\u7684 9090 \u7aef\u53e3\u6620\u5c04\u5230\u4e3b\u673a\u7684 9090 \u7aef\u53e3\uff0c\u4ee5\u4fbf\u901a\u8fc7\u6d4f\u89c8\u5668\u8bbf\u95ee Prometheus \u7684 Web \u754c\u9762\u3002<\/li>\n\n\n\n\n<li><code>-v \/path\/to\/prometheus.yml:\/etc\/prometheus\/prometheus.yml<\/code>\uff1a\u5c06\u672c\u5730\u7684 <code>prometheus.yml<\/code> \u6587\u4ef6\u6302\u8f7d\u5230\u5bb9\u5668\u5185\u7684 <code>\/etc\/prometheus\/prometheus.yml<\/code> \u8def\u5f84\uff0c\u786e\u4fdd\u5bb9\u5668\u4f7f\u7528\u6b63\u786e\u7684\u914d\u7f6e\u3002<\/li>\n\n\n\n\n<li><code>prom\/prometheus<\/code>\uff1a\u6307\u5b9a\u4f7f\u7528\u7684\u955c\u50cf\u3002<\/li>\n\n\n<\/ul>\n\n\n\n\n<h3>\u6b65\u9aa4\u56db\uff1a\u9a8c\u8bc1\u90e8\u7f72<\/h3>\n\n\n\n\n<p>\u5bb9\u5668\u542f\u52a8\u540e\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u6d4f\u89c8\u5668\u8bbf\u95ee <code>http:\/\/localhost:9090<\/code> \u6765\u9a8c\u8bc1 Prometheus \u662f\u5426\u6b63\u5e38\u8fd0\u884c\u3002\u5982\u679c\u4e00\u5207\u987a\u5229\uff0c\u60a8\u5c06\u770b\u5230 Prometheus \u7684 Web \u754c\u9762\u3002<\/p>\n\n\n\n\n<p>\u5728 Web \u754c\u9762\u4e2d\uff0c\u60a8\u53ef\u4ee5\u67e5\u770b Prometheus \u7684\u72b6\u6001\u3001\u76d1\u63a7\u76ee\u6807\u7684\u72b6\u6001\uff0c\u4ee5\u53ca\u6267\u884c PromQL \u67e5\u8be2\u3002\u4f8b\u5982\uff0c\u8f93\u5165 <code>up<\/code> \u67e5\u8be2\u53ef\u4ee5\u67e5\u770b\u6240\u6709\u76d1\u63a7\u76ee\u6807\u7684\u72b6\u6001\u3002<\/p>\n\n\n\n\n<h3>\u6b65\u9aa4\u4e94\uff1a\u914d\u7f6e\u76d1\u63a7\u76ee\u6807<\/h3>\n\n\n\n\n<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0cPrometheus \u53ea\u4f1a\u76d1\u63a7\u81ea\u8eab\u3002\u5982\u679c\u60a8\u9700\u8981\u76d1\u63a7\u5176\u4ed6\u670d\u52a1\uff0c\u53ef\u4ee5\u5728 <code>prometheus.yml<\/code> \u4e2d\u6dfb\u52a0\u66f4\u591a\u7684 <code>scrape_configs<\/code>\u3002\u4f8b\u5982\uff0c\u4ee5\u4e0b\u914d\u7f6e\u6dfb\u52a0\u4e86\u4e00\u4e2a\u540d\u4e3a <code>node_exporter<\/code> \u7684\u76d1\u63a7\u4efb\u52a1\uff0c\u7528\u4e8e\u76d1\u63a7\u4e3b\u673a\u7684\u7cfb\u7edf\u6307\u6807\uff1a<\/p>\n\n\n\n\n<pre><code class=\"language-yaml\">scrape_configs:<br \/>\n  - job_name: 'prometheus'<br \/>\n    static_configs:<br \/>\n      - targets: ['localhost:9090']<br \/>\n  - job_name: 'node_exporter'<br \/>\n    static_configs:<br \/>\n      - targets: ['localhost:9100']<br \/>\n<\/code><\/pre>\n\n\n\n\n<p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>node_exporter<\/code> \u662f\u4e00\u4e2a\u5e38\u7528\u7684\u7cfb\u7edf\u6307\u6807\u91c7\u96c6\u5de5\u5177\uff0c\u8fd0\u884c\u5728 <code>localhost:9100<\/code>\u3002\u60a8\u53ef\u4ee5\u6839\u636e\u5b9e\u9645\u9700\u6c42\u6dfb\u52a0\u66f4\u591a\u7684\u76d1\u63a7\u76ee\u6807\u3002<\/p>\n\n\n\n\n<h3>\u6b65\u9aa4\u516d\uff1a\u6301\u4e45\u5316\u5b58\u50a8\u6570\u636e<\/h3>\n\n\n\n\n<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0cPrometheus \u4f1a\u5c06\u76d1\u63a7\u6570\u636e\u5b58\u50a8\u5728\u5bb9\u5668\u5185\u7684 <code>\/prometheus<\/code> \u76ee\u5f55\u4e2d\u3002\u7136\u800c\uff0c\u5bb9\u5668\u91cd\u542f\u540e\uff0c\u8fd9\u4e9b\u6570\u636e\u5c06\u4f1a\u4e22\u5931\u3002\u4e3a\u4e86\u907f\u514d\u6570\u636e\u4e22\u5931\uff0c\u60a8\u53ef\u4ee5\u5c06\u6570\u636e\u76ee\u5f55\u6302\u8f7d\u5230\u4e3b\u673a\u7684\u6301\u4e45\u5316\u5b58\u50a8\u4e2d\u3002\u4f8b\u5982\uff1a<\/p>\n\n\n\n\n<pre><code class=\"language-bash\">docker run -d \\<br \/>\n  --name prometheus \\<br \/>\n  -p 9090:9090 \\<br \/>\n  -v \/path\/to\/prometheus.yml:\/etc\/prometheus\/prometheus.yml \\<br \/>\n  -v \/path\/to\/data:\/prometheus \\<br \/>\n  prom\/prometheus<br \/>\n<\/code><\/pre>\n\n\n\n\n<p>\u5728\u8fd9\u4e2a\u547d\u4ee4\u4e2d\uff0c<code>-v \/path\/to\/data:\/prometheus<\/code> \u5c06\u4e3b\u673a\u7684 <code>\/path\/to\/data<\/code> \u76ee\u5f55\u6302\u8f7d\u5230\u5bb9\u5668\u7684 <code>\/prometheus<\/code> \u76ee\u5f55\uff0c\u786e\u4fdd\u6570\u636e\u6301\u4e45\u5316\u3002<\/p>\n\n\n\n\n<h3>\u6b65\u9aa4\u4e03\uff1a\u914d\u7f6e\u544a\u8b66\u89c4\u5219<\/h3>\n\n\n\n\n<p>Prometheus \u4e0d\u4ec5\u80fd\u591f\u76d1\u63a7\u7cfb\u7edf\u72b6\u6001\uff0c\u8fd8\u53ef\u4ee5\u6839\u636e\u9884\u5b9a\u4e49\u7684\u544a\u8b66\u89c4\u5219\u53d1\u9001\u544a\u8b66\u3002\u60a8\u53ef\u4ee5\u5728 <code>prometheus.yml<\/code> \u4e2d\u914d\u7f6e\u544a\u8b66\u89c4\u5219\u6587\u4ef6\uff0c\u4f8b\u5982\uff1a<\/p>\n\n\n\n\n<pre><code class=\"language-yaml\">rule_files:<br \/>\n  - \/etc\/prometheus\/alert.rules.yml<br \/>\n<\/code><\/pre>\n\n\n\n\n<p>\u7136\u540e\uff0c\u521b\u5efa\u4e00\u4e2a <code>alert.rules.yml<\/code> \u6587\u4ef6\uff0c\u5b9a\u4e49\u5177\u4f53\u7684\u544a\u8b66\u89c4\u5219\u3002\u4f8b\u5982\uff1a<\/p>\n\n\n\n\n<pre><code class=\"language-yaml\">groups:<br \/>\n- name: example<br \/>\n  rules:<br \/>\n  - alert: HighRequestLatency<br \/>\n    expr: job:request_latency_seconds:mean5m{job=&quot;myjob&quot;} &gt; 0.5<br \/>\n    for: 10m<br \/>\n    labels:<br \/>\n      severity: page<br \/>\n    annotations:<br \/>\n      summary: High request latency<br \/>\n<\/code><\/pre>\n\n\n\n\n<p>\u8fd9\u4e2a\u89c4\u5219\u5b9a\u4e49\u4e86\u4e00\u4e2a\u540d\u4e3a <code>HighRequestLatency<\/code> \u7684\u544a\u8b66\uff0c\u5f53\u8bf7\u6c42\u5ef6\u8fdf\u8d85\u8fc7 0.5 \u79d2\u65f6\u89e6\u53d1\u3002<\/p>\n\n\n\n\n<h3>\u6b65\u9aa4\u516b\uff1a\u96c6\u6210 Alertmanager<\/h3>\n\n\n\n\n<p>Prometheus \u7684\u544a\u8b66\u529f\u80fd\u9700\u8981\u4e0e <strong>Alertmanager<\/strong> \u914d\u5408\u4f7f\u7528\u3002Alertmanager \u8d1f\u8d23\u5904\u7406 Prometheus \u53d1\u9001\u7684\u544a\u8b66\uff0c\u5e76\u6839\u636e\u914d\u7f6e\u8fdb\u884c\u901a\u77e5\uff08\u5982\u90ae\u4ef6\u3001Slack \u7b49\uff09\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528 Docker \u90e8\u7f72 Alertmanager\uff0c\u5e76\u5c06\u5176\u4e0e Prometheus \u96c6\u6210\u3002<\/p>\n\n\n\n\n<p>\u9996\u5148\uff0c\u62c9\u53d6 Alertmanager \u955c\u50cf\uff1a<\/p>\n\n\n\n\n<pre><code class=\"language-bash\">docker pull prom\/alertmanager<br \/>\n<\/code><\/pre>\n\n\n\n\n<p>\u7136\u540e\uff0c\u542f\u52a8 Alertmanager \u5bb9\u5668\uff1a<\/p>\n\n\n\n\n<pre><code class=\"language-bash\">docker run -d \\<br \/>\n  --name alertmanager \\<br \/>\n  -p 9093:9093 \\<br \/>\n  -v \/path\/to\/alertmanager.yml:\/etc\/alertmanager\/alertmanager.yml \\<br \/>\n  prom\/alertmanager<br \/>\n<\/code><\/pre>\n\n\n\n\n<p>\u6700\u540e\uff0c\u5728 <code>prometheus.yml<\/code> \u4e2d\u914d\u7f6e Alertmanager \u7684\u5730\u5740\uff1a<\/p>\n\n\n\n\n<pre><code class=\"language-yaml\">alerting:<br \/>\n  alertmanagers:<br \/>\n  - static_configs:<br \/>\n    - targets:<br \/>\n      - alertmanager:9093<br \/>\n<\/code><\/pre>\n\n\n\n\n<h3>\u603b\u7ed3<\/h3>\n\n\n\n\n<p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u60a8\u5df2\u7ecf\u6210\u529f\u4f7f\u7528 Docker \u5bb9\u5668\u90e8\u7f72\u4e86 Prometheus\uff0c\u5e76\u914d\u7f6e\u4e86\u57fa\u672c\u7684\u76d1\u63a7\u76ee\u6807\u548c\u544a\u8b66\u89c4\u5219\u3002<strong>Docker<\/strong> \u7684\u8f7b\u91cf\u5316\u548c\u53ef\u79fb\u690d\u6027\u4f7f\u5f97 Prometheus \u7684\u90e8\u7f72\u548c\u7ba1\u7406\u53d8\u5f97\u66f4\u52a0\u7b80\u5355\u9ad8\u6548\u3002\u65e0\u8bba\u662f\u5355\u673a\u73af\u5883\u8fd8\u662f\u5927\u89c4\u6a21\u96c6\u7fa4\uff0c\u8fd9\u79cd\u90e8\u7f72\u65b9\u5f0f\u90fd\u80fd\u6ee1\u8db3\u60a8\u7684\u9700\u6c42\u3002<\/p>\n\n\n                ]]>\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\t\t\t\t<![CDATA[]]>\t\t<\/p>\n","protected":false},"author":5,"featured_media":24433,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-32008","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-discussion"],"_links":{"self":[{"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/posts\/32008","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/comments?post=32008"}],"version-history":[{"count":0,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/posts\/32008\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/media\/24433"}],"wp:attachment":[{"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/media?parent=32008"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/categories?post=32008"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/tags?post=32008"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}