{"id":24588,"date":"2025-01-15T16:53:54","date_gmt":"2025-01-15T08:53:54","guid":{"rendered":"https:\/\/www.yunshan.net\/blog\/?p=24588"},"modified":"2025-01-15T16:53:54","modified_gmt":"2025-01-15T08:53:54","slug":"prometheus%e5%a6%82%e4%bd%95%e5%a4%84%e7%90%86%e6%97%b6%e9%97%b4%e5%ba%8f%e5%88%97%e6%95%b0%e6%8d%ae%e7%9a%84%e5%8e%8b%e7%bc%a9%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.yunshan.net\/blog\/archives\/24588.html","title":{"rendered":"Prometheus\u5982\u4f55\u5904\u7406\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u7684\u538b\u7f29\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\/e8aa6fcf998298e.jpg\" alt=\"Prometheus\u5982\u4f55\u5904\u7406\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u7684\u538b\u7f29\uff1f\" ><\/p>\n\n<\/p>\n\n\n\n<p>\u5728\u73b0\u4ee3\u76d1\u63a7\u548c\u53ef\u89c2\u6d4b\u6027\u9886\u57df\uff0c\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u7684\u9ad8\u6548\u5b58\u50a8\u548c\u5904\u7406\u662f\u4e00\u4e2a\u5173\u952e\u6311\u6218\u3002\u968f\u7740\u7cfb\u7edf\u89c4\u6a21\u7684\u6269\u5927\uff0c\u76d1\u63a7\u6570\u636e\u91cf\u5448\u6307\u6570\u7ea7\u589e\u957f\uff0c\u5982\u4f55\u5728\u4e0d\u727a\u7272\u6027\u80fd\u7684\u524d\u63d0\u4e0b\u538b\u7f29\u548c\u5b58\u50a8\u8fd9\u4e9b\u6570\u636e\u6210\u4e3a\u4e86\u4e00\u4e2a\u70ed\u95e8\u8bdd\u9898\u3002Prometheus\u4f5c\u4e3a\u4e00\u6b3e\u5e7f\u6cdb\u4f7f\u7528\u7684\u5f00\u6e90\u76d1\u63a7\u7cfb\u7edf\uff0c\u5176\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u538b\u7f29\u673a\u5236\u5907\u53d7\u5173\u6ce8\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8Prometheus\u5982\u4f55\u5904\u7406\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u7684\u538b\u7f29\uff0c\u5e2e\u52a9\u8bfb\u8005\u7406\u89e3\u5176\u80cc\u540e\u7684\u6280\u672f\u539f\u7406\u548c\u5b9e\u9645\u5e94\u7528\u3002<\/p>\n\n\n\n\n<h3><strong>\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u7684\u7279\u70b9\u4e0e\u6311\u6218<\/strong><\/h3>\n\n\n\n\n<p>\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u662f\u6307\u6309\u65f6\u95f4\u987a\u5e8f\u8bb0\u5f55\u7684\u6570\u636e\u70b9\u96c6\u5408\uff0c\u901a\u5e38\u7528\u4e8e\u76d1\u63a7\u7cfb\u7edf\u6027\u80fd\u3001\u8d44\u6e90\u4f7f\u7528\u60c5\u51b5\u7b49\u3002\u8fd9\u7c7b\u6570\u636e\u5177\u6709\u4ee5\u4e0b\u7279\u70b9\uff1a<\/p>\n\n\n\n\n<ol>\n\n\n<li><strong>\u9ad8\u9891\u7387\u91c7\u6837<\/strong>\uff1a\u76d1\u63a7\u7cfb\u7edf\u901a\u5e38\u4ee5\u79d2\u7ea7\u751a\u81f3\u6beb\u79d2\u7ea7\u7684\u9891\u7387\u91c7\u96c6\u6570\u636e\uff0c\u5bfc\u81f4\u6570\u636e\u91cf\u5e9e\u5927\u3002<\/li>\n\n\n\n\n<li><strong>\u9ad8\u5ea6\u91cd\u590d\u6027<\/strong>\uff1a\u8bb8\u591a\u6307\u6807\u5728\u77ed\u65f6\u95f4\u5185\u53d8\u5316\u4e0d\u5927\uff0c\u5bfc\u81f4\u6570\u636e\u4e2d\u5b58\u5728\u5927\u91cf\u91cd\u590d\u6216\u76f8\u4f3c\u7684\u503c\u3002<\/li>\n\n\n\n\n<li><strong>\u65f6\u95f4\u76f8\u5173\u6027<\/strong>\uff1a\u76f8\u90bb\u65f6\u95f4\u70b9\u7684\u6570\u636e\u901a\u5e38\u5177\u6709\u8f83\u9ad8\u7684\u76f8\u5173\u6027\uff0c\u8fd9\u4e3a\u538b\u7f29\u63d0\u4f9b\u4e86\u53ef\u80fd\u3002<\/li>\n\n\n<\/ol>\n\n\n\n\n<p>\u7136\u800c\uff0c\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u7684\u5b58\u50a8\u548c\u5904\u7406\u4e5f\u9762\u4e34\u8bf8\u591a\u6311\u6218\u3002\u4f8b\u5982\uff0c\u6570\u636e\u91cf\u8fc7\u5927\u53ef\u80fd\u5bfc\u81f4\u5b58\u50a8\u6210\u672c\u6fc0\u589e\uff0c\u67e5\u8be2\u6027\u80fd\u4e0b\u964d\u3002\u56e0\u6b64\uff0c<strong>\u9ad8\u6548\u7684\u538b\u7f29\u7b97\u6cd5<\/strong>\u6210\u4e3a\u89e3\u51b3\u8fd9\u4e9b\u95ee\u9898\u7684\u5173\u952e\u3002<\/p>\n\n\n\n\n<h3><strong>Prometheus\u7684\u5b58\u50a8\u67b6\u6784<\/strong><\/h3>\n\n\n\n\n<p>Prometheus\u91c7\u7528\u4e86\u4e00\u79cd\u72ec\u7279\u7684\u5b58\u50a8\u67b6\u6784\uff0c\u4e13\u95e8\u4e3a\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u8bbe\u8ba1\u3002\u5176\u6838\u5fc3\u7ec4\u4ef6\u5305\u62ec\uff1a<\/p>\n\n\n\n\n<ol>\n\n\n<li><strong>\u5185\u5b58\u5b58\u50a8\uff08Memory Storage\uff09<\/strong>\uff1a\u7528\u4e8e\u4e34\u65f6\u5b58\u50a8\u6700\u8fd1\u91c7\u96c6\u7684\u6570\u636e\u3002<\/li>\n\n\n\n\n<li><strong>\u672c\u5730\u78c1\u76d8\u5b58\u50a8\uff08Local Disk Storage\uff09<\/strong>\uff1a\u7528\u4e8e\u6301\u4e45\u5316\u5b58\u50a8\u5386\u53f2\u6570\u636e\u3002<\/li>\n\n\n\n\n<li><strong>\u538b\u7f29\u673a\u5236\uff08Compression Mechanism\uff09<\/strong>\uff1a\u7528\u4e8e\u51cf\u5c11\u5b58\u50a8\u7a7a\u95f4\u5360\u7528\u3002<\/li>\n\n\n<\/ol>\n\n\n\n\n<p>Prometheus\u7684\u5b58\u50a8\u67b6\u6784\u8bbe\u8ba1\u5145\u5206\u8003\u8651\u4e86\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u7684\u7279\u70b9\uff0c\u901a\u8fc7<strong>\u5206\u5757\u5b58\u50a8<\/strong>\u548c<strong>\u538b\u7f29\u7b97\u6cd5<\/strong>\u7684\u7ed3\u5408\uff0c\u5b9e\u73b0\u4e86\u9ad8\u6548\u7684\u6570\u636e\u7ba1\u7406\u3002<\/p>\n\n\n\n\n<h3><strong>Prometheus\u7684\u538b\u7f29\u673a\u5236<\/strong><\/h3>\n\n\n\n\n<p>Prometheus\u7684\u538b\u7f29\u673a\u5236\u662f\u5176\u9ad8\u6548\u5b58\u50a8\u7684\u6838\u5fc3\u3002\u5b83\u4e3b\u8981\u4f9d\u8d56\u4e8e\u4ee5\u4e0b\u51e0\u79cd\u6280\u672f\uff1a<\/p>\n\n\n\n\n<h4><strong>1. \u5206\u5757\u5b58\u50a8\uff08Chunking\uff09<\/strong><\/h4>\n\n\n\n\n<p>Prometheus\u5c06\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u5212\u5206\u4e3a\u591a\u4e2a<strong>\u56fa\u5b9a\u5927\u5c0f\u7684\u5757\uff08Chunk\uff09<\/strong>\uff0c\u6bcf\u4e2a\u5757\u5305\u542b\u4e00\u6bb5\u65f6\u95f4\u8303\u56f4\u5185\u7684\u6570\u636e\u70b9\u3002\u8fd9\u79cd\u5206\u5757\u5b58\u50a8\u7684\u65b9\u5f0f\u4e0d\u4ec5\u4fbf\u4e8e\u7ba1\u7406\uff0c\u8fd8\u4e3a\u540e\u7eed\u7684\u538b\u7f29\u63d0\u4f9b\u4e86\u57fa\u7840\u3002<\/p>\n\n\n\n\n<ul>\n\n\n<li><strong>\u5757\u7684\u5927\u5c0f<\/strong>\uff1a\u901a\u5e38\u4e3a2\u5c0f\u65f6\u7684\u6570\u636e\u91cf\uff0c\u5177\u4f53\u5927\u5c0f\u53ef\u6839\u636e\u914d\u7f6e\u8c03\u6574\u3002<\/li>\n\n\n\n\n<li><strong>\u5757\u7684\u5b58\u50a8\u683c\u5f0f<\/strong>\uff1a\u91c7\u7528\u4e8c\u8fdb\u5236\u683c\u5f0f\uff0c\u4fbf\u4e8e\u9ad8\u6548\u8bfb\u5199\u3002<\/li>\n\n\n<\/ul>\n\n\n\n\n<h4><strong>2. \u5dee\u5206\u7f16\u7801\uff08Delta Encoding\uff09<\/strong><\/h4>\n\n\n\n\n<p>\u5dee\u5206\u7f16\u7801\u662f\u4e00\u79cd\u5e38\u89c1\u7684\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u538b\u7f29\u6280\u672f\u3002\u5176\u6838\u5fc3\u601d\u60f3\u662f<strong>\u5b58\u50a8\u76f8\u90bb\u6570\u636e\u70b9\u4e4b\u95f4\u7684\u5dee\u5f02<\/strong>\uff0c\u800c\u4e0d\u662f\u5b58\u50a8\u539f\u59cb\u503c\u3002\u7531\u4e8e\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u901a\u5e38\u5177\u6709\u8f83\u9ad8\u7684\u65f6\u95f4\u76f8\u5173\u6027\uff0c\u5dee\u5206\u7f16\u7801\u53ef\u4ee5\u663e\u8457\u51cf\u5c11\u5b58\u50a8\u7a7a\u95f4\u3002<\/p>\n\n\n\n\n<ul>\n\n\n<li><strong>\u5b9e\u73b0\u65b9\u5f0f<\/strong>\uff1aPrometheus\u4f1a\u8ba1\u7b97\u6bcf\u4e2a\u6570\u636e\u70b9\u4e0e\u524d\u4e00\u4e2a\u6570\u636e\u70b9\u7684\u5dee\u503c\uff0c\u5e76\u5c06\u8fd9\u4e9b\u5dee\u503c\u5b58\u50a8\u8d77\u6765\u3002<\/li>\n\n\n\n\n<li><strong>\u4f18\u52bf<\/strong>\uff1a\u5bf9\u4e8e\u53d8\u5316\u7f13\u6162\u7684\u6307\u6807\uff0c\u5dee\u503c\u901a\u5e38\u8f83\u5c0f\uff0c\u751a\u81f3\u4e3a\u96f6\uff0c\u4ece\u800c\u5927\u5e45\u964d\u4f4e\u5b58\u50a8\u9700\u6c42\u3002<\/li>\n\n\n<\/ul>\n\n\n\n\n<h4><strong>3. \u4f4d\u538b\u7f29\uff08Bit Packing\uff09<\/strong><\/h4>\n\n\n\n\n<p>\u4f4d\u538b\u7f29\u662f\u4e00\u79cd\u9488\u5bf9\u5c0f\u6574\u6570\u7684\u538b\u7f29\u6280\u672f\u3002\u7531\u4e8e\u5dee\u5206\u7f16\u7801\u540e\u7684\u5dee\u503c\u901a\u5e38\u4e3a\u5c0f\u6574\u6570\uff0cPrometheus\u4f7f\u7528\u4f4d\u538b\u7f29\u8fdb\u4e00\u6b65\u51cf\u5c11\u5b58\u50a8\u7a7a\u95f4\u3002<\/p>\n\n\n\n\n<ul>\n\n\n<li><strong>\u5b9e\u73b0\u65b9\u5f0f<\/strong>\uff1a\u5c06\u591a\u4e2a\u5c0f\u6574\u6570\u6253\u5305\u5b58\u50a8\u5728\u4e00\u4e2a\u5b57\u8282\u6216\u66f4\u5c11\u7684\u5185\u5b58\u4e2d\u3002<\/li>\n\n\n\n\n<li><strong>\u4f18\u52bf<\/strong>\uff1a\u6709\u6548\u5229\u7528\u5b58\u50a8\u7a7a\u95f4\uff0c\u51cf\u5c11\u78c1\u76d8I\/O\u5f00\u9500\u3002<\/li>\n\n\n<\/ul>\n\n\n\n\n<h4><strong>4. Gorilla\u538b\u7f29\u7b97\u6cd5<\/strong><\/h4>\n\n\n\n\n<p>Prometheus\u5728\u5b58\u50a8\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u65f6\uff0c\u8fd8\u501f\u9274\u4e86Facebook\u5f00\u6e90\u7684<strong>Gorilla\u538b\u7f29\u7b97\u6cd5<\/strong>\u3002\u8be5\u7b97\u6cd5\u4e13\u4e3a\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u8bbe\u8ba1\uff0c\u5177\u6709\u4ee5\u4e0b\u7279\u70b9\uff1a<\/p>\n\n\n\n\n<ul>\n\n\n<li><strong>\u65f6\u95f4\u6233\u538b\u7f29<\/strong>\uff1a\u901a\u8fc7\u5b58\u50a8\u65f6\u95f4\u6233\u7684\u5dee\u503c\uff0c\u5e76\u4f7f\u7528\u53ef\u53d8\u957f\u5ea6\u7f16\u7801\u51cf\u5c11\u5b58\u50a8\u7a7a\u95f4\u3002<\/li>\n\n\n\n\n<li><strong>\u503c\u538b\u7f29<\/strong>\uff1a\u5229\u7528\u6d6e\u70b9\u6570\u7684\u7279\u6027\uff0c\u901a\u8fc7\u5b58\u50a8\u503c\u7684\u5f02\u6216\u7ed3\u679c\u6765\u51cf\u5c11\u6570\u636e\u91cf\u3002<\/li>\n\n\n<\/ul>\n\n\n\n\n<p>Gorilla\u538b\u7f29\u7b97\u6cd5\u5728Prometheus\u4e2d\u7684\u5e94\u7528\uff0c\u8fdb\u4e00\u6b65\u63d0\u5347\u4e86\u538b\u7f29\u6548\u7387\uff0c\u4f7f\u5176\u80fd\u591f\u5904\u7406\u66f4\u5927\u89c4\u6a21\u7684\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u3002<\/p>\n\n\n\n\n<h3><strong>\u538b\u7f29\u673a\u5236\u7684\u5b9e\u9645\u6548\u679c<\/strong><\/h3>\n\n\n\n\n<p>Prometheus\u7684\u538b\u7f29\u673a\u5236\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u8868\u73b0\u51fa\u8272\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5173\u952e\u7684\u6027\u80fd\u6307\u6807\uff1a<\/p>\n\n\n\n\n<ol>\n\n\n<li><strong>\u538b\u7f29\u6bd4<\/strong>\uff1a\u901a\u5e38\u60c5\u51b5\u4e0b\uff0cPrometheus\u53ef\u4ee5\u5c06\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u538b\u7f29\u81f3\u539f\u59cb\u5927\u5c0f\u7684<strong>10%-20%<\/strong>\u3002<\/li>\n\n\n\n\n<li><strong>\u67e5\u8be2\u6027\u80fd<\/strong>\uff1a\u7531\u4e8e\u6570\u636e\u7ecf\u8fc7\u9ad8\u6548\u538b\u7f29\uff0c\u67e5\u8be2\u65f6\u7684\u78c1\u76d8I\/O\u5f00\u9500\u663e\u8457\u964d\u4f4e\uff0c\u4ece\u800c\u63d0\u9ad8\u4e86\u67e5\u8be2\u901f\u5ea6\u3002<\/li>\n\n\n\n\n<li><strong>\u5b58\u50a8\u6210\u672c<\/strong>\uff1a\u538b\u7f29\u540e\u7684\u6570\u636e\u5360\u7528\u66f4\u5c11\u7684\u5b58\u50a8\u7a7a\u95f4\uff0c\u964d\u4f4e\u4e86\u786c\u4ef6\u6210\u672c\u548c\u8fd0\u7ef4\u590d\u6742\u5ea6\u3002<\/li>\n\n\n<\/ol>\n\n\n\n\n<h3><strong>\u538b\u7f29\u673a\u5236\u7684\u4f18\u5316\u4e0e\u6311\u6218<\/strong><\/h3>\n\n\n\n\n<p>\u5c3d\u7ba1Prometheus\u7684\u538b\u7f29\u673a\u5236\u5df2\u7ecf\u975e\u5e38\u9ad8\u6548\uff0c\u4f46\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u4ecd\u9762\u4e34\u4e00\u4e9b\u6311\u6218\uff1a<\/p>\n\n\n\n\n<ol>\n\n\n<li><strong>\u9ad8\u57fa\u6570\u95ee\u9898<\/strong>\uff1a\u5f53\u76d1\u63a7\u6307\u6807\u7684\u6570\u91cf\uff08\u5373\u57fa\u6570\uff09\u975e\u5e38\u9ad8\u65f6\uff0c\u538b\u7f29\u6548\u679c\u53ef\u80fd\u4f1a\u53d7\u5230\u5f71\u54cd\u3002\u8fd9\u662f\u56e0\u4e3a\u9ad8\u57fa\u6570\u4f1a\u5bfc\u81f4\u66f4\u591a\u7684\u552f\u4e00\u503c\uff0c\u4ece\u800c\u964d\u4f4e\u5dee\u5206\u7f16\u7801\u7684\u6548\u7387\u3002<\/li>\n\n\n\n\n<li><strong>\u5b9e\u65f6\u6027\u8981\u6c42<\/strong>\uff1a\u5728\u67d0\u4e9b\u573a\u666f\u4e0b\uff0c\u76d1\u63a7\u7cfb\u7edf\u9700\u8981\u5b9e\u65f6\u5904\u7406\u5927\u91cf\u6570\u636e\uff0c\u8fd9\u5bf9\u538b\u7f29\u7b97\u6cd5\u7684\u6027\u80fd\u63d0\u51fa\u4e86\u66f4\u9ad8\u8981\u6c42\u3002<\/li>\n\n\n\n\n<li><strong>\u957f\u671f\u5b58\u50a8<\/strong>\uff1a\u5bf9\u4e8e\u9700\u8981\u957f\u671f\u5b58\u50a8\u7684\u6570\u636e\uff0c\u5982\u4f55\u5e73\u8861\u538b\u7f29\u6548\u7387\u548c\u67e5\u8be2\u6027\u80fd\u662f\u4e00\u4e2a\u9700\u8981\u6301\u7eed\u4f18\u5316\u7684\u95ee\u9898\u3002<\/li>\n\n\n<\/ol>\n\n\n\n\n<p>\u4e3a\u4e86\u5e94\u5bf9\u8fd9\u4e9b\u6311\u6218\uff0cPrometheus\u793e\u533a\u4e0d\u65ad\u6539\u8fdb\u5176\u538b\u7f29\u7b97\u6cd5\u548c\u5b58\u50a8\u67b6\u6784\u3002\u4f8b\u5982\uff0c\u901a\u8fc7\u5f15\u5165<strong>\u5206\u5c42\u5b58\u50a8<\/strong>\u548c<strong>\u8fdc\u7a0b\u5199\u5165<\/strong>\u529f\u80fd\uff0cPrometheus\u80fd\u591f\u66f4\u597d\u5730\u652f\u6301\u5927\u89c4\u6a21\u76d1\u63a7\u573a\u666f\u3002<\/p>\n\n\n\n\n<h3><strong>\u4e0e\u5176\u4ed6\u76d1\u63a7\u7cfb\u7edf\u7684\u5bf9\u6bd4<\/strong><\/h3>\n\n\n\n\n<p>\u4e0e\u5176\u4ed6\u76d1\u63a7\u7cfb\u7edf\u76f8\u6bd4\uff0cPrometheus\u5728\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u538b\u7f29\u65b9\u9762\u5177\u6709\u660e\u663e\u4f18\u52bf\u3002\u4f8b\u5982\uff1a<\/p>\n\n\n\n\n<ul>\n\n\n<li><strong>InfluxDB<\/strong>\uff1a\u867d\u7136InfluxDB\u4e5f\u652f\u6301\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u538b\u7f29\uff0c\u4f46\u5176\u538b\u7f29\u7b97\u6cd5\u548c\u5b58\u50a8\u67b6\u6784\u4e0ePrometheus\u6709\u6240\u4e0d\u540c\u3002InfluxDB\u66f4\u4fa7\u91cd\u4e8e\u9ad8\u541e\u5410\u91cf\u7684\u5199\u5165\u573a\u666f\uff0c\u800cPrometheus\u5219\u5728\u67e5\u8be2\u6027\u80fd\u548c\u538b\u7f29\u6548\u7387\u4e4b\u95f4\u53d6\u5f97\u4e86\u66f4\u597d\u7684\u5e73\u8861\u3002<\/li>\n\n\n\n\n<li><strong>Graphite<\/strong>\uff1aGraphite\u7684\u5b58\u50a8\u673a\u5236\u76f8\u5bf9\u7b80\u5355\uff0c\u7f3a\u4e4f\u9ad8\u6548\u7684\u538b\u7f29\u7b97\u6cd5\uff0c\u56e0\u6b64\u5728\u5904\u7406\u5927\u89c4\u6a21\u6570\u636e\u65f6\u6027\u80fd\u8f83\u5dee\u3002<\/li>\n\n\n<\/ul>\n\n\n\n\n<p>\u901a\u8fc7\u5bf9\u6bd4\u53ef\u4ee5\u770b\u51fa\uff0cPrometheus\u7684\u538b\u7f29\u673a\u5236\u5728<strong>\u6027\u80fd<\/strong>\u548c<strong>\u6548\u7387<\/strong>\u65b9\u9762\u5177\u6709\u663e\u8457\u4f18\u52bf\uff0c\u8fd9\u4e5f\u662f\u5176\u6210\u4e3a\u4e3b\u6d41\u76d1\u63a7\u7cfb\u7edf\u7684\u91cd\u8981\u539f\u56e0\u4e4b\u4e00\u3002<\/p>\n\n\n\n\n<h3><strong>\u672a\u6765\u53d1\u5c55\u65b9\u5411<\/strong><\/h3>\n\n\n\n\n<p>\u968f\u7740\u76d1\u63a7\u9700\u6c42\u7684\u4e0d\u65ad\u589e\u957f\uff0cPrometheus\u7684\u538b\u7f29\u673a\u5236\u4e5f\u5728\u6301\u7eed\u6f14\u8fdb\u3002\u672a\u6765\u53ef\u80fd\u7684\u53d1\u5c55\u65b9\u5411\u5305\u62ec\uff1a<\/p>\n\n\n\n\n<ol>\n\n\n<li><strong>\u66f4\u9ad8\u6548\u7684\u538b\u7f29\u7b97\u6cd5<\/strong>\uff1a\u4f8b\u5982\uff0c\u5f15\u5165\u673a\u5668\u5b66\u4e60\u6280\u672f\uff0c\u6839\u636e\u6570\u636e\u6a21\u5f0f\u52a8\u6001\u8c03\u6574\u538b\u7f29\u7b56\u7565\u3002<\/li>\n\n\n\n\n<li><strong>\u5206\u5e03\u5f0f\u5b58\u50a8<\/strong>\uff1a\u901a\u8fc7\u5206\u5e03\u5f0f\u5b58\u50a8\u67b6\u6784\uff0c\u8fdb\u4e00\u6b65\u63d0\u5347\u5927\u89c4\u6a21\u6570\u636e\u7684\u5904\u7406\u80fd\u529b\u3002<\/li>\n\n\n\n\n<li><strong>\u4e91\u539f\u751f\u652f\u6301<\/strong>\uff1a\u4f18\u5316Prometheus\u5728\u4e91\u73af\u5883\u4e2d\u7684\u5b58\u50a8\u548c\u538b\u7f29\u6027\u80fd\uff0c\u4ee5\u9002\u5e94\u73b0\u4ee3\u4e91\u539f\u751f\u5e94\u7528\u7684\u9700\u6c42\u3002<\/li>\n\n\n<\/ol>\n\n\n\n\n<p>\u901a\u8fc7\u4e0d\u65ad\u521b\u65b0\u548c\u4f18\u5316\uff0cPrometheus\u5c06\u7ee7\u7eed\u5728\u65f6\u95f4\u5e8f\u5217\u6570\u636e\u538b\u7f29\u9886\u57df\u4fdd\u6301\u9886\u5148\u5730\u4f4d\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u9ad8\u6548\u3001\u66f4\u53ef\u9760\u7684\u76d1\u63a7\u89e3\u51b3\u65b9\u6848\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":24589,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-24588","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\/24588","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=24588"}],"version-history":[{"count":0,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/posts\/24588\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/media\/24589"}],"wp:attachment":[{"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/media?parent=24588"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/categories?post=24588"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/tags?post=24588"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}