{"id":1080,"date":"2021-07-30T09:26:15","date_gmt":"2021-07-30T01:26:15","guid":{"rendered":"https:\/\/egonlin.com\/?p=1080"},"modified":"2021-07-30T12:24:09","modified_gmt":"2021-07-30T04:24:09","slug":"prometheus%e9%9b%86%e6%88%90grafana","status":"publish","type":"post","link":"https:\/\/egonlin.com\/?p=1080","title":{"rendered":"prometheus\u96c6\u6210grafana"},"content":{"rendered":"<h1>prometheus\u96c6\u6210grafana<\/h1>\n<h2>\u4e00\u3001\u4ec0\u4e48\u662fgrafana<\/h2>\n<pre><code class=\"language-bash\">    Grafana\u662f\u4e00\u6b3e\u7528Go\u8bed\u8a00\u5f00\u53d1\u7684\u5f00\u6e90\u6570\u636e\u53ef\u89c6\u5316\u5de5\u5177\uff0c\u53ef\u4ee5\u505a\u6570\u636e\u76d1\u63a7\u548c\u6570\u636e\u7edf\u8ba1\uff0c\u5e26\u6709\u544a\u8b66\u529f\u80fd\u3002\u76ee\u524d\u4f7f\u7528grafana\u7684\u516c\u53f8\u6709\u5f88\u591a\uff0c\u5982paypal\u3001ebay\u3001intel\u7b49\u3002<\/code><\/pre>\n<h2>\u4e8c\u3001\u7279\u70b9<\/h2>\n<h3>1\u3001\u53ef\u89c6\u5316<\/h3>\n<pre><code class=\"language-bash\">\u5feb\u901f\u548c\u7075\u6d3b\u7684\u5ba2\u6237\u7aef\u56fe\u5f62\u5177\u6709\u591a\u79cd\u9009\u9879\u3002\u9762\u677f\u63d2\u4ef6\u4e3a\u8bb8\u591a\u4e0d\u540c\u7684\u65b9\u5f0f\u53ef\u89c6\u5316\u6307\u6807\u548c\u65e5\u5fd7\u3002<\/code><\/pre>\n<h3>2\u3001\u62a5\u8b66<\/h3>\n<pre><code class=\"language-bash\">\u53ef\u89c6\u5316\u5730\u4e3a\u6700\u91cd\u8981\u7684\u6307\u6807\u5b9a\u4e49\u8b66\u62a5\u89c4\u5219\u3002Grafana\u5c06\u6301\u7eed\u8bc4\u4f30\u5b83\u4eec\uff0c\u5e76\u53d1\u9001\u901a\u77e5\u3002<\/code><\/pre>\n<h3>3\u3001\u901a\u77e5<\/h3>\n<pre><code class=\"language-bash\">\u8b66\u62a5\u66f4\u6539\u72b6\u6001\u65f6\uff0c\u5b83\u4f1a\u53d1\u51fa\u901a\u77e5\u3002\u63a5\u6536\u7535\u5b50\u90ae\u4ef6\u901a\u77e5\u3002<\/code><\/pre>\n<h3>4\u3001\u52a8\u6001\u4eea\u8868\u76d8<\/h3>\n<pre><code class=\"language-bash\">\u4f7f\u7528\u6a21\u677f\u53d8\u91cf\u521b\u5efa\u52a8\u6001\u548c\u53ef\u91cd\u7528\u7684\u4eea\u8868\u677f\uff0c\u8fd9\u4e9b\u6a21\u677f\u53d8\u91cf\u4f5c\u4e3a\u4e0b\u62c9\u83dc\u5355\u51fa\u73b0\u5728\u4eea\u8868\u677f\u9876\u90e8\u3002<\/code><\/pre>\n<h3>5\u3001\u6df7\u5408\u6570\u636e\u6e90<\/h3>\n<pre><code class=\"language-bash\">\u5728\u540c\u4e00\u4e2a\u56fe\u4e2d\u6df7\u5408\u4e0d\u540c\u7684\u6570\u636e\u6e90!\u53ef\u4ee5\u6839\u636e\u6bcf\u4e2a\u67e5\u8be2\u6307\u5b9a\u6570\u636e\u6e90\u3002\u8fd9\u751a\u81f3\u9002\u7528\u4e8e\u81ea\u5b9a\u4e49\u6570\u636e\u6e90\u3002<\/code><\/pre>\n<h3>6\u3001\u6ce8\u91ca<\/h3>\n<pre><code class=\"language-bash\">\u6ce8\u91ca\u6765\u81ea\u4e0d\u540c\u6570\u636e\u6e90\u56fe\u8868\u3002\u5c06\u9f20\u6807\u60ac\u505c\u5728\u4e8b\u4ef6\u4e0a\u53ef\u4ee5\u663e\u793a\u5b8c\u6574\u7684\u4e8b\u4ef6\u5143\u6570\u636e\u548c\u6807\u8bb0\u3002<\/code><\/pre>\n<h3>7\u3001\u8fc7\u6ee4\u5668<\/h3>\n<pre><code class=\"language-bash\">\u8fc7\u6ee4\u5668\u5141\u8bb8\u60a8\u52a8\u6001\u521b\u5efa\u65b0\u7684\u952e\/\u503c\u8fc7\u6ee4\u5668\uff0c\u8fd9\u4e9b\u8fc7\u6ee4\u5668\u5c06\u81ea\u52a8\u5e94\u7528\u4e8e\u4f7f\u7528\u8be5\u6570\u636e\u6e90\u7684\u6240\u6709\u67e5\u8be2\u3002<\/code><\/pre>\n<h2>\u4e09\u3001\u5b89\u88c5<\/h2>\n<h3>1\u3001\u4e0b\u8f7d<\/h3>\n<p><\/p><div id=\"rml_readmorelogin_placeholder\" style=\"position:relative;\"><div id=\"rml_fade_content\" style=\"position: absolute;\r\ntop:-10em;\r\nwidth:100%;\r\nheight:10em;\r\nbackground: -webkit-linear-gradient(rgba(255, 255, 255, 0) 0%,#ffffff 100%);\r\nbackground-image: -moz-linear-gradient(rgba(255, 255, 255, 0) 0%,#ffffff 100%);\r\nbackground-image: -o-linear-gradient(rgba(255, 255, 255, 0) 0%,#ffffff 100%);\r\nbackground-image: linear-gradient(rgba(255, 255, 255, 0) 0%,#ffffff 100%);\r\nbackground-image: -ms-linear-gradient(rgba(255, 255, 255, 0) 0%,#ffffff 100%);\"><\/div><div class=\"wpf-controller aru_rml_from_in_post\" style=\"background-color:#eeeeee;border:5px solid #cce6ff;\" id=\"ARU_ReadMoreLogin_ReadMoreLoginController\"><h2 id=\"Header\">\u67e5\u770b\u66f4\u591a<\/h2><div id=\"Message\"><p>\u8054\u7cfb\u7ba1\u7406\u5458\u5fae\u4fe1tutu19192010\uff0c\u6ce8\u518c\u8d26\u53f7<\/p>\n<\/div><div id=\"StatusBarHeader\"><\/div><form id=\"ARU_ReadMoreLogin_ReadMoreLoginController\"><input name=\"post_id\" value=\"1080\" type=\"hidden\"\/><input name=\"_init_callback\" value=\"InitLogin\" type=\"hidden\"\/><input name=\"post_id\" value=\"1080\" type=\"hidden\"\/><input name=\"rt_ype\" value=\"1\" type=\"hidden\"\/><input name=\"nonce\" value=\"dd23469f13\" type=\"hidden\"\/><input name=\"_wpnonce\" value=\"2d1dcda414\" type=\"hidden\"\/><input name=\"_controller\" value=\"ARU_ReadMoreLogin\\ReadMoreLoginController\" type=\"hidden\"\/><input name=\"_proxy_controller\" value=\"ARU_ReadMoreLogin\\ReadMoreLoginController\" type=\"hidden\"\/><input name=\"_view\" value=\"ARU_ReadMoreLogin\\ReadMoreLoginView\" type=\"hidden\"\/><table class=\"wpf-table-placeholder\"><tbody class=\"wpf-table-placeholder\"><tr class=\"wpf-table-placeholder\"><td class=\"wpf-table-placeholder-input\" width=\"400px\"><table class=\"wpf-table-placeholder\"><tbody class=\"wpf-table-placeholder\"><tr class=\"wpf-table-placeholder\"><th class=\"wpf-table-placeholder-input\"><label class=\"wpf-label\">Username:<\/label><\/th><\/tr><tr class=\"wpf-table-placeholder\"><td class=\"wpf-table-placeholder-input\"><input class=\"regular-text text_input\" name=\"username\" value=\"\" type=\"text\"\/><\/td><\/tr><tr class=\"wpf-table-placeholder\"><th class=\"wpf-table-placeholder-input\"><label class=\"wpf-label\">Password:<\/label><\/th><\/tr><tr class=\"wpf-table-placeholder\"><td class=\"wpf-table-placeholder-input\"><input class=\"regular-text text_input\" name=\"password\" value=\"\" type=\"password\"\/><\/td><\/tr><\/tbody><\/table><p class=\"wpf-table-placeholder submit\"><button class=\"wp_plugin_framework_ajax_button\" type=\"button\" style=\"background-color:#4D90FE;;color:#ffffff;;border:1px solid #3079ed;\" name=\"_event\" value=\"ButtonLogin\">Log in<\/button><\/p><\/td><td class=\"wpf-table-placeholder-input\"><\/td><\/tr><\/tbody><\/table><\/form><div id=\"ButtonStartRegister\"><a href=\"https:\/\/egonlin.com\/wp-login.php?action=register\">Register<\/a><\/div><div id=\"Link1\"><a href=\"https:\/\/egonlin.com\/wp-login.php?action=lostpassword\">Forgotten username or password?<\/a><\/div><div id=\"StatusBarFooter\"><\/div><\/div><\/div><div id=aru_remaining_content><\/div>","protected":false},"excerpt":{"rendered":"<p>prometheus\u96c6\u6210grafana \u4e00\u3001\u4ec0\u4e48\u662fgrafana Grafana\u662f\u4e00\u6b3e\u7528Go\u8bed\u8a00\u5f00\u53d1\u7684\u5f00\u6e90\u6570\u636e [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":1086,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[141],"tags":[21,133,134,135,147,132,118,20],"_links":{"self":[{"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/posts\/1080"}],"collection":[{"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1080"}],"version-history":[{"count":0,"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/posts\/1080\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/media\/1086"}],"wp:attachment":[{"href":"https:\/\/egonlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1080"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1080"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1080"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}