{"id":27736,"date":"2024-09-25T15:26:51","date_gmt":"2024-09-25T07:26:51","guid":{"rendered":"https:\/\/www.yunshan.net\/blog\/?p=12738"},"modified":"2024-09-25T15:26:51","modified_gmt":"2024-09-25T07:26:51","slug":"%e6%8e%a2%e7%b4%a2prometheus%e7%9a%84%e7%b2%be%e7%a5%9e%e4%b8%96%e7%95%8c%ef%bc%9a%e5%ae%87%e5%ae%99%e5%86%92%e9%99%a9%e7%9a%84%e5%8a%a8%e5%8a%9b%e6%ba%90%e6%b3%89","status":"publish","type":"post","link":"https:\/\/www.yunshan.net\/blog\/archives\/27736.html","title":{"rendered":"\u63a2\u7d22Prometheus\u7684\u7cbe\u795e\u4e16\u754c\uff1a\u5b87\u5b99\u5192\u9669\u7684\u52a8\u529b\u6e90\u6cc9"},"content":{"rendered":"<p>\t\t\t\t<![CDATA[\n\n<p>\u5728\u5f53\u4eca\u6570\u5b57\u5316\u7684\u65f6\u4ee3\uff0c\u7f51\u7edc\u6d41\u91cf\u5982\u540c\u6570\u5b57\u4e16\u754c\u4e2d\u7684\u6d2a\u6d41\uff0c\u4e0d\u65ad\u5954\u817e\u6d8c\u52a8\u3002\u5bf9\u4e8e\u4f01\u4e1a\u548c\u7ec4\u7ec7\u800c\u8a00\uff0c\u6709\u6548\u5730\u91c7\u96c6\u548c\u5206\u53d1\u7f51\u7edc\u6d41\u91cf\uff0c\u4ee5\u5b9e\u73b0\u5bf9\u7f51\u7edc\u6027\u80fd\u7684\u76d1\u63a7\u3001\u4f18\u5316\u548c\u5b89\u5168\u4fdd\u969c\uff0c\u6210\u4e3a\u4e86\u81f3\u5173\u91cd\u8981\u7684\u4efb\u52a1\u3002\u4e91\u6749\u7f51\u7edc\u4f5c\u4e3a\u5728\u8fd9\u4e00\u9886\u57df\u7684\u6770\u51fa\u4ee3\u8868\uff0c\u4e3a\u6211\u4eec\u5c55\u73b0\u4e86\u5176\u521b\u65b0\u7684\u6280\u672f\u548c\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n\n<p><a href=\"https:\/\/www.yunshan.net\" target=\"_blank\" style=\"color:blue\" rel=\"noopener noreferrer\">\u7f51\u7edc\u6d41\u91cf\u91c7\u96c6<\/a>\u5206\u53d1\u662f\u4e00\u9879\u590d\u6742\u800c\u5173\u952e\u7684\u6280\u672f\u3002\u5b83\u7684\u91cd\u8981\u6027\u4e0d\u8a00\u800c\u55bb\uff0c\u5c31\u5982\u540c\u6211\u4eec\u9700\u8981\u4e86\u89e3\u57ce\u5e02\u4ea4\u901a\u4e2d\u7684\u8f66\u8f86\u6d41\u5411\u548c\u6d41\u91cf\uff0c\u624d\u80fd\u6709\u6548\u5730\u89c4\u5212\u9053\u8def\u3001\u4f18\u5316\u4ea4\u901a\u7ba1\u7406\uff0c\u4ece\u800c\u907f\u514d\u62e5\u5835\u548c\u4e8b\u6545\u3002\u5728\u7f51\u7edc\u4e16\u754c\u4e2d\uff0c\u6d41\u91cf\u91c7\u96c6\u5206\u53d1\u5e2e\u52a9\u6211\u4eec\u6d1e\u5bdf\u7f51\u7edc\u4e2d\u7684\u6570\u636e\u6d41\u52a8\uff0c\u53d1\u73b0\u6f5c\u5728\u7684\u95ee\u9898\uff0c\u4fdd\u969c\u5173\u952e\u4e1a\u52a1\u7684\u7a33\u5b9a\u8fd0\u884c\u3002<\/p>\n\n\n\n<p align=center><img decoding=\"async\" src=\"https:\/\/www.yunshan.net\/blog\/wp-content\/uploads\/2024\/09\/x13g9.jpg\" \/><\/p>\n\n\n\n\n<p>\u4e91\u6749\u7f51\u7edc\u5728<a href=\"https:\/\/www.yunshan.net\" target=\"_blank\" style=\"color:blue\" rel=\"noopener noreferrer\">\u7f51\u7edc\u6d41\u91cf\u91c7\u96c6<\/a>\u5206\u53d1\u9886\u57df\u6709\u7740\u72ec\u7279\u7684\u6280\u672f\u4f18\u52bf\u3002\u5176\u91c7\u7528\u4e86\u5148\u8fdb\u7684\u5206\u5e03\u5f0f\u67b6\u6784\uff0c\u80fd\u591f\u5728\u5927\u89c4\u6a21\u7684\u7f51\u7edc\u73af\u5883\u4e2d\u9ad8\u6548\u5730\u91c7\u96c6\u6d41\u91cf\u6570\u636e\u3002\u8fd9\u79cd\u67b6\u6784\u4e0d\u4ec5\u5177\u5907\u9ad8\u5ea6\u7684\u53ef\u6269\u5c55\u6027\uff0c\u8fd8\u80fd\u591f\u786e\u4fdd\u6570\u636e\u91c7\u96c6\u7684\u51c6\u786e\u6027\u548c\u5b8c\u6574\u6027\u3002\u65e0\u8bba\u662f\u5e9e\u5927\u7684\u6570\u636e\u4e2d\u5fc3\uff0c\u8fd8\u662f\u590d\u6742\u7684\u4f01\u4e1a\u7f51\u7edc\uff0c\u4e91\u6749\u7f51\u7edc\u7684\u89e3\u51b3\u65b9\u6848\u90fd\u80fd\u591f\u8f7b\u677e\u5e94\u5bf9\u3002<\/p>\n\n\n\n\n<p>\u5728\u91c7\u96c6\u6d41\u91cf\u7684\u8fc7\u7a0b\u4e2d\uff0c\u4e91\u6749\u7f51\u7edc\u6ce8\u91cd\u5bf9\u5404\u79cd\u534f\u8bae\u548c\u5e94\u7528\u7684\u652f\u6301\u3002\u65e0\u8bba\u662f\u5e38\u89c1\u7684HTTP\u3001TCP\/IP\u534f\u8bae\uff0c\u8fd8\u662f\u65b0\u5174\u7684\u7269\u8054\u7f51\u534f\u8bae\uff0c\u90fd\u80fd\u591f\u88ab\u7cbe\u51c6\u5730\u8bc6\u522b\u548c\u91c7\u96c6\u3002\u8fd9\u4f7f\u5f97\u4f01\u4e1a\u80fd\u591f\u5168\u9762\u4e86\u89e3\u7f51\u7edc\u4e2d\u7684\u5404\u79cd\u4e1a\u52a1\u6d41\u91cf\uff0c\u4e3a\u540e\u7eed\u7684\u5206\u6790\u548c\u51b3\u7b56\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u6570\u636e\u57fa\u7840\u3002<\/p>\n\n\n\n\n<p>\u4e91\u6749\u7f51\u7edc\u7684\u6d41\u91cf\u5206\u53d1\u6280\u672f\u540c\u6837\u51fa\u8272\u3002\u91c7\u96c6\u5230\u7684\u6d41\u91cf\u6570\u636e\u9700\u8981\u53ca\u65f6\u3001\u51c6\u786e\u5730\u5206\u53d1\u7ed9\u76f8\u5173\u7684\u5206\u6790\u5de5\u5177\u548c\u7cfb\u7edf\uff0c\u4ee5\u4fbf\u8fdb\u884c\u6df1\u5165\u7684\u5904\u7406\u548c\u5206\u6790\u3002\u4e91\u6749\u7f51\u7edc\u901a\u8fc7\u4f18\u5316\u7684\u6570\u636e\u5206\u53d1\u7b97\u6cd5\uff0c\u786e\u4fdd\u6570\u636e\u80fd\u591f\u5feb\u901f\u5230\u8fbe\u76ee\u7684\u5730\uff0c\u540c\u65f6\u964d\u4f4e\u6570\u636e\u4f20\u8f93\u8fc7\u7a0b\u4e2d\u7684\u5ef6\u8fdf\u548c\u4e22\u5305\u7387\u3002\u8fd9\u5bf9\u4e8e\u5b9e\u65f6\u6027\u8981\u6c42\u8f83\u9ad8\u7684\u7f51\u7edc\u76d1\u63a7\u548c\u5b89\u5168\u5206\u6790\u81f3\u5173\u91cd\u8981\u3002<\/p>\n\n\n\n\n<p>\u9664\u4e86\u6280\u672f\u4e0a\u7684\u4f18\u52bf\uff0c\u4e91\u6749\u7f51\u7edc\u8fd8\u4e3a\u7528\u6237\u63d0\u4f9b\u4e86\u53cb\u597d\u7684\u7ba1\u7406\u754c\u9762\u548c\u53ef\u89c6\u5316\u5de5\u5177\u3002\u7528\u6237\u53ef\u4ee5\u76f4\u89c2\u5730\u4e86\u89e3\u7f51\u7edc\u6d41\u91cf\u7684\u5206\u5e03\u60c5\u51b5\u3001\u8d8b\u52bf\u53d8\u5316\u4ee5\u53ca\u5f02\u5e38\u60c5\u51b5\u3002\u901a\u8fc7\u76f4\u89c2\u7684\u56fe\u8868\u548c\u62a5\u8868\uff0c\u7528\u6237\u80fd\u591f\u5feb\u901f\u505a\u51fa\u51b3\u7b56\uff0c\u91c7\u53d6\u76f8\u5e94\u7684\u63aa\u65bd\u6765\u4f18\u5316\u7f51\u7edc\u6027\u80fd\u6216\u5e94\u5bf9\u5b89\u5168\u5a01\u80c1\u3002<\/p>\n\n\n\n\n<p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u4e91\u6749\u7f51\u7edc\u7684\u7f51\u7edc\u6d41\u91cf\u91c7\u96c6\u5206\u53d1\u89e3\u51b3\u65b9\u6848\u4e3a\u4f17\u591a\u4f01\u4e1a\u5e26\u6765\u4e86\u663e\u8457\u7684\u4ef7\u503c\u3002\u4f8b\u5982\uff0c\u5bf9\u4e8e\u91d1\u878d\u673a\u6784\u6765\u8bf4\uff0c\u786e\u4fdd\u4ea4\u6613\u7cfb\u7edf\u7684\u7a33\u5b9a\u548c\u5b89\u5168\u662f\u91cd\u4e2d\u4e4b\u91cd\u3002\u901a\u8fc7\u4e91\u6749\u7f51\u7edc\u7684\u6280\u672f\uff0c\u80fd\u591f\u5b9e\u65f6\u76d1\u6d4b\u7f51\u7edc\u6d41\u91cf\uff0c\u53ca\u65f6\u53d1\u73b0\u5f02\u5e38\u4ea4\u6613\u884c\u4e3a\uff0c\u4fdd\u969c\u5ba2\u6237\u7684\u8d44\u91d1\u5b89\u5168\u548c\u4e1a\u52a1\u7684\u8fde\u7eed\u6027\u3002<\/p>\n\n\n\n\n<p>\u5728\u7535\u4fe1\u884c\u4e1a\uff0c\u9762\u5bf9\u6d77\u91cf\u7684\u7528\u6237\u6570\u636e\u548c\u590d\u6742\u7684\u7f51\u7edc\u67b6\u6784\uff0c\u4e91\u6749\u7f51\u7edc\u5e2e\u52a9\u8fd0\u8425\u5546\u6709\u6548\u5730\u7ba1\u7406\u7f51\u7edc\u6d41\u91cf\uff0c\u4f18\u5316\u8d44\u6e90\u5206\u914d\uff0c\u63d0\u5347\u7528\u6237\u4f53\u9a8c\u3002\u540c\u65f6\uff0c\u5bf9\u4e8e\u4e92\u8054\u7f51\u4f01\u4e1a\uff0c\u5feb\u901f\u7684\u4e1a\u52a1\u521b\u65b0\u548c\u9891\u7e41\u7684\u7cfb\u7edf\u66f4\u65b0\u5bf9\u7f51\u7edc\u63d0\u51fa\u4e86\u6781\u9ad8\u7684\u8981\u6c42\u3002\u4e91\u6749\u7f51\u7edc\u7684\u89e3\u51b3\u65b9\u6848\u80fd\u591f\u5e2e\u52a9\u4ed6\u4eec\u53ca\u65f6\u4e86\u89e3\u7f51\u7edc\u72b6\u51b5\uff0c\u786e\u4fdd\u4e1a\u52a1\u7684\u7a33\u5b9a\u8fd0\u884c\u548c\u5feb\u901f\u53d1\u5c55\u3002<\/p>\n\n\n\n\n<p>\u7136\u800c\uff0c\u7f51\u7edc\u6d41\u91cf\u91c7\u96c6\u5206\u53d1\u9886\u57df\u4e5f\u9762\u4e34\u7740\u4e00\u4e9b\u6311\u6218\u3002\u968f\u7740\u7f51\u7edc\u6280\u672f\u7684\u4e0d\u65ad\u53d1\u5c55\uff0c\u7f51\u7edc\u6d41\u91cf\u7684\u89c4\u6a21\u548c\u590d\u6742\u6027\u6301\u7eed\u589e\u52a0\uff0c\u5bf9\u91c7\u96c6\u548c\u5206\u53d1\u6280\u672f\u7684\u6027\u80fd\u63d0\u51fa\u4e86\u66f4\u9ad8\u7684\u8981\u6c42\u3002\u540c\u65f6\uff0c\u6570\u636e\u9690\u79c1\u548c\u5b89\u5168\u6cd5\u89c4\u7684\u65e5\u76ca\u4e25\u683c\uff0c\u4e5f\u8981\u6c42\u4e91\u6749\u7f51\u7edc\u5728\u6570\u636e\u91c7\u96c6\u548c\u5904\u7406\u8fc7\u7a0b\u4e2d\uff0c\u786e\u4fdd\u5408\u89c4\u6027\uff0c\u4fdd\u62a4\u7528\u6237\u7684\u9690\u79c1\u548c\u6570\u636e\u5b89\u5168\u3002<\/p>\n\n\n\n\n<p>\u5c55\u671b\u672a\u6765\uff0c\u4e91\u6749\u7f51\u7edc\u5728\u7f51\u7edc\u6d41\u91cf\u91c7\u96c6\u5206\u53d1\u9886\u57df\u6709\u7740\u5e7f\u9614\u7684\u53d1\u5c55\u524d\u666f\u3002\u968f\u77405G\u3001\u7269\u8054\u7f51\u548c\u4e91\u8ba1\u7b97\u7b49\u6280\u672f\u7684\u5e7f\u6cdb\u5e94\u7528\uff0c\u7f51\u7edc\u6d41\u91cf\u5c06\u5448\u73b0\u51fa\u7206\u70b8\u5f0f\u589e\u957f\u3002\u4e91\u6749\u7f51\u7edc\u5c06\u4e0d\u65ad\u521b\u65b0\u548c\u4f18\u5316\u5176\u6280\u672f\uff0c\u4ee5\u9002\u5e94\u65b0\u7684\u7f51\u7edc\u73af\u5883\u548c\u4e1a\u52a1\u9700\u6c42\u3002\u540c\u65f6\uff0c\u4e0e\u4eba\u5de5\u667a\u80fd\u548c\u5927\u6570\u636e\u6280\u672f\u7684\u6df1\u5ea6\u878d\u5408\uff0c\u5c06\u4f7f\u5f97\u7f51\u7edc\u6d41\u91cf\u5206\u6790\u66f4\u52a0\u667a\u80fd\u5316\uff0c\u4e3a\u4f01\u4e1a\u63d0\u4f9b\u66f4\u5177\u6d1e\u5bdf\u529b\u7684\u51b3\u7b56\u652f\u6301\u3002<\/p>\n\n\n\n\n<p>\u603b\u4e4b\uff0c\u4e91\u6749\u7f51\u7edc\u7684\u7f51\u7edc\u6d41\u91cf\u91c7\u96c6\u5206\u53d1\u6280\u672f\u662f\u6570\u5b57\u4e16\u754c\u4e2d\u7684\u91cd\u8981\u57fa\u77f3\u3002\u5b83\u4e3a\u4f01\u4e1a\u548c\u7ec4\u7ec7\u63d0\u4f9b\u4e86\u6d1e\u5bdf\u7f51\u7edc\u5185\u90e8\u7684\u773c\u775b\uff0c\u5e2e\u52a9\u4ed6\u4eec\u5728\u590d\u6742\u591a\u53d8\u7684\u7f51\u7edc\u73af\u5883\u4e2d\u7a33\u5065\u524d\u884c\u3002\u5728\u672a\u6765\u7684\u53d1\u5c55\u4e2d\uff0c\u6211\u4eec\u671f\u5f85\u4e91\u6749\u7f51\u7edc\u7ee7\u7eed\u53d1\u6325\u5176\u6280\u672f\u4f18\u52bf\uff0c\u4e3a\u6784\u5efa\u66f4\u52a0\u5b89\u5168\u3001\u9ad8\u6548\u548c\u667a\u80fd\u7684\u7f51\u7edc\u4e16\u754c\u8d21\u732e\u529b\u91cf\u3002<\/p>\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":12739,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-27736","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\/27736","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=27736"}],"version-history":[{"count":0,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/posts\/27736\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/media\/12739"}],"wp:attachment":[{"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/media?parent=27736"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/categories?post=27736"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/tags?post=27736"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}