{"id":27833,"date":"2024-09-26T10:53:19","date_gmt":"2024-09-26T02:53:19","guid":{"rendered":"https:\/\/www.yunshan.net\/blog\/?p=13099"},"modified":"2024-09-26T10:53:19","modified_gmt":"2024-09-26T02:53:19","slug":"prometheus%e7%9a%84%e5%ae%87%e5%ae%99%e5%86%92%e9%99%a9%e4%bc%a0%e5%a5%87%ef%bc%9a%e5%88%9b%e9%80%a0%e5%a5%87%e8%bf%b9%e7%9a%84%e5%be%81%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/www.yunshan.net\/blog\/archives\/27833.html","title":{"rendered":"Prometheus\u7684\u5b87\u5b99\u5192\u9669\u4f20\u5947\uff1a\u521b\u9020\u5947\u8ff9\u7684\u5f81\u7a0b"},"content":{"rendered":"<p>\t\t\t\t<![CDATA[\n\n<p><a href=\"https:\/\/www.yunshan.net\" target=\"_blank\" style=\"color:blue\" rel=\"noopener noreferrer\">Prometheus<\/a>\u7684\u5b87\u5b99\u5192\u9669\u4f20\u5947\uff1a\u521b\u9020\u5947\u8ff9\u7684\u5f81\u7a0b<\/p>\n\n\n\n\n<p>\u5728\u5f53\u4eca\u6570\u5b57\u5316\u7684\u65f6\u4ee3\uff0c\u7f51\u7edc\u6d41\u91cf\u5982\u540c\u5b87\u5b99\u4e2d\u7684\u7e41\u661f\uff0c\u6570\u91cf\u4f17\u591a\u4e14\u77ac\u606f\u4e07\u53d8\u3002\u5bf9\u4e8e\u4f01\u4e1a\u548c\u7ec4\u7ec7\u6765\u8bf4\uff0c\u6709\u6548\u5730\u91c7\u96c6\u3001\u5206\u6790\u548c\u5206\u53d1\u7f51\u7edc\u6d41\u91cf\u4fe1\u606f\u81f3\u5173\u91cd\u8981\uff0c\u8fd9\u5c31\u5982\u540c\u5728\u6d69\u701a\u5b87\u5b99\u4e2d\u51c6\u786e\u6355\u6349\u548c\u5229\u7528\u661f\u8fb0\u7684\u5149\u8292\u3002\u800c\u5728\u8fd9\u4e2a\u9886\u57df\uff0c\u4e91\u6749\u7f51\u7edc\u51ed\u501f\u5176\u5148\u8fdb\u7684\u6280\u672f\u548c\u521b\u65b0\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u6210\u4e3a\u4e86\u5f15\u9886\u6f6e\u6d41\u7684\u91cd\u8981\u529b\u91cf\u3002<\/p>\n\n\n\n<p align=center><img decoding=\"async\" src=\"https:\/\/www.yunshan.net\/blog\/wp-content\/uploads\/2024\/09\/bAjM6g1Z3.jpg\" \/><\/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>\u662f\u6574\u4e2a\u6d41\u7a0b\u7684\u7b2c\u4e00\u6b65\uff0c\u5c31\u50cf\u662f\u5728\u5b87\u5b99\u4e2d\u6355\u6349\u90a3\u4e9b\u5fae\u5f31\u800c\u73cd\u8d35\u7684\u4fe1\u53f7\u3002\u4e91\u6749\u7f51\u7edc\u7684\u6d41\u91cf\u91c7\u96c6\u6280\u672f\u5177\u5907\u9ad8\u5ea6\u7684\u7cbe\u786e\u6027\u548c\u5168\u9762\u6027\u3002\u5b83\u80fd\u591f\u4ece\u5404\u79cd\u7f51\u7edc\u8bbe\u5907\u3001\u670d\u52a1\u5668\u548c\u5e94\u7528\u7a0b\u5e8f\u4e2d\u83b7\u53d6\u6d41\u91cf\u6570\u636e\uff0c\u65e0\u8bba\u662f\u4f20\u7edf\u7684\u7269\u7406\u7f51\u7edc\u8fd8\u662f\u590d\u6742\u7684\u865a\u62df\u7f51\u7edc\u73af\u5883\uff0c\u90fd\u80fd\u4e00\u7f51\u6253\u5c3d\u3002<\/p>\n\n\n\n\n<p>\u4e3a\u4e86\u5b9e\u73b0\u9ad8\u6548\u7684\u91c7\u96c6\uff0c\u4e91\u6749\u7f51\u7edc\u91c7\u7528\u4e86\u591a\u79cd\u5148\u8fdb\u7684\u6280\u672f\u624b\u6bb5\u3002\u4f8b\u5982\uff0c\u6df1\u5ea6\u5305\u68c0\u6d4b\uff08DPI\uff09\u6280\u672f\u53ef\u4ee5\u6df1\u5165\u5206\u6790\u6570\u636e\u5305\u7684\u5185\u5bb9\uff0c\u63d0\u53d6\u51fa\u6709\u4ef7\u503c\u7684\u4fe1\u606f\uff0c\u5982\u5e94\u7528\u7c7b\u578b\u3001\u7528\u6237\u8eab\u4efd\u7b49\u3002\u800c\u57fa\u4e8e\u6d41\u7684\u91c7\u96c6\u6280\u672f\u5219\u80fd\u591f\u5feb\u901f\u5730\u6355\u83b7\u7f51\u7edc\u6d41\u91cf\u7684\u6d41\u5411\u548c\u6d41\u91cf\u5927\u5c0f\u7b49\u5173\u952e\u6307\u6807\uff0c\u5927\u5927\u63d0\u9ad8\u4e86\u91c7\u96c6\u7684\u6548\u7387\u3002<\/p>\n\n\n\n\n<p>\u91c7\u96c6\u5230\u7684\u7f51\u7edc\u6d41\u91cf\u6570\u636e\u5982\u540c\u672a\u7ecf\u96d5\u7422\u7684\u539f\u77f3\uff0c\u9700\u8981\u7ecf\u8fc7\u7cbe\u7ec6\u7684\u5904\u7406\u548c\u5206\u6790\u624d\u80fd\u5c55\u73b0\u51fa\u5176\u771f\u6b63\u7684\u4ef7\u503c\u3002\u4e91\u6749\u7f51\u7edc\u5728\u8fd9\u65b9\u9762\u5c55\u73b0\u51fa\u4e86\u5353\u8d8a\u7684\u80fd\u529b\u3002<\/p>\n\n\n\n\n<p>\u5176\u6570\u636e\u5206\u6790\u5e73\u53f0\u5177\u5907\u5f3a\u5927\u7684\u8ba1\u7b97\u548c\u5b58\u50a8\u80fd\u529b\uff0c\u80fd\u591f\u5feb\u901f\u5904\u7406\u6d77\u91cf\u7684\u6d41\u91cf\u6570\u636e\u3002\u901a\u8fc7\u8fd0\u7528\u673a\u5668\u5b66\u4e60\u548c\u4eba\u5de5\u667a\u80fd\u7b97\u6cd5\uff0c\u4e91\u6749\u7f51\u7edc\u53ef\u4ee5\u5bf9\u6d41\u91cf\u6570\u636e\u8fdb\u884c\u6df1\u5ea6\u6316\u6398\uff0c\u53d1\u73b0\u9690\u85cf\u5728\u5176\u4e2d\u7684\u6a21\u5f0f\u548c\u8d8b\u52bf\u3002<\/p>\n\n\n\n\n<p>\u6bd4\u5982\uff0c\u901a\u8fc7\u5206\u6790\u7528\u6237\u7684\u7f51\u7edc\u884c\u4e3a\uff0c\u4f01\u4e1a\u53ef\u4ee5\u4e86\u89e3\u5230\u5ba2\u6237\u7684\u504f\u597d\u548c\u9700\u6c42\uff0c\u4ece\u800c\u4f18\u5316\u4ea7\u54c1\u548c\u670d\u52a1\u3002\u5bf9\u4e8e\u7f51\u7edc\u5b89\u5168\u800c\u8a00\uff0c\u4e91\u6749\u7f51\u7edc\u80fd\u591f\u68c0\u6d4b\u5230\u5f02\u5e38\u7684\u6d41\u91cf\u6a21\u5f0f\uff0c\u53ca\u65f6\u53d1\u73b0\u6f5c\u5728\u7684\u5b89\u5168\u5a01\u80c1\uff0c\u5982DDoS\u653b\u51fb\u3001\u7f51\u7edc\u5165\u4fb5\u7b49\uff0c\u5e76\u8fc5\u901f\u53d1\u51fa\u8b66\u62a5\uff0c\u4e3a\u4f01\u4e1a\u7684\u7f51\u7edc\u5b89\u5168\u4fdd\u9a7e\u62a4\u822a\u3002<\/p>\n\n\n\n\n<p>\u7136\u800c\uff0c\u4ec5\u4ec5\u5b8c\u6210\u91c7\u96c6\u548c\u5206\u6790\u8fd8\u4e0d\u591f\uff0c\u5982\u4f55\u5c06\u8fd9\u4e9b\u6709\u4ef7\u503c\u7684\u4fe1\u606f\u51c6\u786e\u3001\u53ca\u65f6\u5730\u5206\u53d1\u7ed9\u9700\u8981\u7684\u4eba\u5458\u548c\u7cfb\u7edf\uff0c\u662f\u5b9e\u73b0\u7f51\u7edc\u6d41\u91cf\u4ef7\u503c\u6700\u5927\u5316\u7684\u5173\u952e\u4e00\u6b65\u3002\u4e91\u6749\u7f51\u7edc\u7684\u6d41\u91cf\u5206\u53d1\u6280\u672f\u5728\u6b64\u53d1\u6325\u4e86\u91cd\u8981\u4f5c\u7528\u3002<\/p>\n\n\n\n\n<p>\u5b83\u652f\u6301\u591a\u79cd\u5206\u53d1\u65b9\u5f0f\uff0c\u5305\u62ec\u5b9e\u65f6\u63a8\u9001\u3001\u5b9a\u671f\u62a5\u544a\u548c\u6309\u9700\u67e5\u8be2\u7b49\u3002\u4e0d\u540c\u7684\u90e8\u95e8\u548c\u4eba\u5458\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u83b7\u53d6\u76f8\u5e94\u7684\u6d41\u91cf\u6570\u636e\u3002\u4f8b\u5982\uff0c\u7f51\u7edc\u8fd0\u7ef4\u56e2\u961f\u53ef\u4ee5\u5b9e\u65f6\u63a5\u6536\u5173\u952e\u7f51\u7edc\u8bbe\u5907\u7684\u6d41\u91cf\u72b6\u6001\uff0c\u4ee5\u4fbf\u53ca\u65f6\u8fdb\u884c\u6545\u969c\u6392\u9664\u548c\u4f18\u5316\u8c03\u6574\uff1b\u7ba1\u7406\u5c42\u53ef\u4ee5\u5b9a\u671f\u83b7\u53d6\u7efc\u5408\u7684\u7f51\u7edc\u6d41\u91cf\u62a5\u544a\uff0c\u4e3a\u51b3\u7b56\u63d0\u4f9b\u6570\u636e\u652f\u6301\uff1b\u5b89\u5168\u7814\u7a76\u4eba\u5458\u5219\u53ef\u4ee5\u6309\u9700\u67e5\u8be2\u7279\u5b9a\u65f6\u95f4\u6bb5\u548c\u7279\u5b9a\u7c7b\u578b\u7684\u6d41\u91cf\u6570\u636e\uff0c\u8fdb\u884c\u6df1\u5165\u7684\u5b89\u5168\u7814\u7a76\u548c\u5206\u6790\u3002<\/p>\n\n\n\n\n<p>\u5728\u4e91\u6749\u7f51\u7edc\u7684\u89e3\u51b3\u65b9\u6848\u4e2d\uff0c\u8fd8\u7279\u522b\u6ce8\u91cd\u6570\u636e\u7684\u53ef\u89c6\u5316\u5c55\u793a\u3002\u5c06\u590d\u6742\u7684\u6d41\u91cf\u6570\u636e\u4ee5\u76f4\u89c2\u3001\u6e05\u6670\u7684\u56fe\u8868\u548c\u56fe\u5f62\u5448\u73b0\u51fa\u6765\uff0c\u8ba9\u7528\u6237\u80fd\u591f\u4e00\u76ee\u4e86\u7136\u5730\u4e86\u89e3\u7f51\u7edc\u7684\u8fd0\u884c\u72b6\u51b5\u3002\u65e0\u8bba\u662f\u7f51\u7edc\u62d3\u6251\u56fe\u3001\u6d41\u91cf\u8d8b\u52bf\u56fe\u8fd8\u662f\u5b89\u5168\u5a01\u80c1\u5206\u5e03\u56fe\uff0c\u90fd\u80fd\u591f\u5e2e\u52a9\u7528\u6237\u5feb\u901f\u6d1e\u5bdf\u95ee\u9898\uff0c\u505a\u51fa\u51c6\u786e\u7684\u5224\u65ad\u548c\u51b3\u7b56\u3002<\/p>\n\n\n\n\n<p>\u4e0e\u4f20\u7edf\u7684\u7f51\u7edc\u6d41\u91cf\u5904\u7406\u65b9\u5f0f\u76f8\u6bd4\uff0c\u4e91\u6749\u7f51\u7edc\u7684\u4f18\u52bf\u5341\u5206\u660e\u663e\u3002\u5b83\u4e0d\u4ec5\u63d0\u9ad8\u4e86\u6d41\u91cf\u91c7\u96c6\u7684\u51c6\u786e\u6027\u548c\u5168\u9762\u6027\uff0c\u8fd8\u5927\u5927\u7f29\u77ed\u4e86\u6570\u636e\u5206\u6790\u7684\u65f6\u95f4\uff0c\u63d0\u5347\u4e86\u5206\u53d1\u7684\u6548\u7387\u548c\u7075\u6d3b\u6027\u3002\u8fd9\u4f7f\u5f97\u4f01\u4e1a\u80fd\u591f\u66f4\u52a0\u654f\u6377\u5730\u5e94\u5bf9\u5e02\u573a\u53d8\u5316\u548c\u7f51\u7edc\u6311\u6218\uff0c\u5728\u6fc0\u70c8\u7684\u7ade\u4e89\u4e2d\u5360\u636e\u4f18\u52bf\u3002<\/p>\n\n\n\n\n<p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u4e91\u6749\u7f51\u7edc\u5df2\u7ecf\u5728\u591a\u4e2a\u9886\u57df\u53d6\u5f97\u4e86\u663e\u8457\u7684\u6210\u679c\u3002\u5728\u91d1\u878d\u884c\u4e1a\uff0c\u5b83\u5e2e\u52a9\u94f6\u884c\u548c\u8bc1\u5238\u516c\u53f8\u5b9e\u65f6\u76d1\u63a7\u7f51\u7edc\u4ea4\u6613\u6d41\u91cf\uff0c\u4fdd\u969c\u91d1\u878d\u4e1a\u52a1\u7684\u5b89\u5168\u7a33\u5b9a\u8fd0\u884c\uff1b\u5728\u7535\u4fe1\u9886\u57df\uff0c\u52a9\u529b\u8fd0\u8425\u5546\u4f18\u5316\u7f51\u7edc\u8d44\u6e90\u914d\u7f6e\uff0c\u63d0\u5347\u7528\u6237\u7684\u7f51\u7edc\u4f53\u9a8c\uff1b\u5728\u4e92\u8054\u7f51\u4f01\u4e1a\u4e2d\uff0c\u534f\u52a9\u4f01\u4e1a\u8fdb\u884c\u7cbe\u7ec6\u5316\u7684\u8fd0\u8425\u7ba1\u7406\uff0c\u63d0\u9ad8\u4e1a\u52a1\u7684\u7ade\u4e89\u529b\u3002<\/p>\n\n\n\n\n<p>\u968f\u77405G\u3001\u7269\u8054\u7f51\u548c\u4e91\u8ba1\u7b97\u7b49\u6280\u672f\u7684\u5feb\u901f\u53d1\u5c55\uff0c\u7f51\u7edc\u6d41\u91cf\u7684\u89c4\u6a21\u548c\u590d\u6742\u6027\u5c06\u4e0d\u65ad\u589e\u52a0\u3002\u4e91\u6749\u7f51\u7edc\u4e5f\u5728\u4e0d\u65ad\u521b\u65b0\u548c\u8fdb\u5316\uff0c\u4ee5\u9002\u5e94\u672a\u6765\u7684\u6311\u6218\u3002<\/p>\n\n\n\n\n<p>\u672a\u6765\uff0c\u4e91\u6749\u7f51\u7edc\u6709\u671b\u8fdb\u4e00\u6b65\u63d0\u5347\u6d41\u91cf\u91c7\u96c6\u7684\u7cbe\u5ea6\u548c\u901f\u5ea6\uff0c\u66f4\u597d\u5730\u5e94\u5bf9\u9ad8\u901f\u7f51\u7edc\u73af\u5883\u4e0b\u7684\u6d41\u91cf\u91c7\u96c6\u9700\u6c42\u3002\u5728\u6570\u636e\u5206\u6790\u65b9\u9762\uff0c\u5c06\u66f4\u52a0\u6df1\u5165\u5730\u878d\u5408\u4eba\u5de5\u667a\u80fd\u548c\u5927\u6570\u636e\u6280\u672f\uff0c\u5b9e\u73b0\u66f4\u52a0\u667a\u80fd\u548c\u7cbe\u51c6\u7684\u5206\u6790\u9884\u6d4b\u3002\u540c\u65f6\uff0c\u5728\u6d41\u91cf\u5206\u53d1\u65b9\u9762\uff0c\u5c06\u52a0\u5f3a\u4e0e\u5176\u4ed6\u7cfb\u7edf\u7684\u96c6\u6210\u548c\u534f\u540c\uff0c\u6253\u9020\u66f4\u52a0\u5b8c\u5584\u7684\u7f51\u7edc\u751f\u6001\u3002<\/p>\n\n\n\n\n<p>\u603b\u4e4b\uff0c\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\u7684\u63a2\u7d22\u548c\u521b\u65b0\uff0c\u5c31\u5982\u540c<a href=\"https:\/\/www.yunshan.net\" target=\"_blank\" style=\"color:blue\" rel=\"noopener noreferrer\">Prometheus<\/a>\u5728\u5b87\u5b99\u5192\u9669\u4e2d\u4e0d\u65ad\u521b\u9020\u5947\u8ff9\u3002\u5b83\u4e3a\u4f01\u4e1a\u548c\u7ec4\u7ec7\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u5de5\u5177\u548c\u652f\u6301\uff0c\u5e2e\u52a9\u4ed6\u4eec\u5728\u6570\u5b57\u5316\u7684\u6d6a\u6f6e\u4e2d\u9a7e\u9a6d\u7f51\u7edc\u6d41\u91cf\u7684\u529b\u91cf\uff0c\u5b9e\u73b0\u4e1a\u52a1\u7684\u6301\u7eed\u53d1\u5c55\u548c\u521b\u65b0\u3002\u76f8\u4fe1\u5728\u672a\u6765\u7684\u5f81\u7a0b\u4e2d\uff0c\u4e91\u6749\u7f51\u7edc\u5c06\u7ee7\u7eed\u5f15\u9886\u884c\u4e1a\u53d1\u5c55\uff0c\u4e3a\u6784\u5efa\u66f4\u52a0\u667a\u80fd\u3001\u9ad8\u6548\u548c\u5b89\u5168\u7684\u7f51\u7edc\u4e16\u754c\u8d21\u732e\u66f4\u591a\u7684\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":13100,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-27833","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\/27833","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=27833"}],"version-history":[{"count":0,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/posts\/27833\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/media\/13100"}],"wp:attachment":[{"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/media?parent=27833"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/categories?post=27833"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/tags?post=27833"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}