{"id":98578,"date":"2026-09-01T07:00:06","date_gmt":"2026-08-31T23:00:06","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/98578.html"},"modified":"2026-09-01T07:00:06","modified_gmt":"2026-08-31T23:00:06","slug":"grafana-%e9%85%8d%e7%bd%ae%e5%91%8a%e8%ad%a6%e6%8e%a8%e9%80%81%e4%bc%81%e4%b8%9a%e5%be%ae%e4%bf%a1","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/98578.html","title":{"rendered":"Grafana \u914d\u7f6e\u544a\u8b66\u63a8\u9001\u4f01\u4e1a\u5fae\u4fe1"},"content":{"rendered":"<h3>\u524d\u8a00<\/h3>\n<p>\u672c\u6587\u4ecb\u7ecd\u5982\u4f55\u5c06 Grafana \u7684\u544a\u8b66\u6d88\u606f\u63a8\u9001\u5230\u4f01\u4e1a\u5fae\u4fe1\u7fa4\u673a\u5668\u4eba&#xff0c;\u5b9e\u73b0\u76d1\u63a7\u544a\u8b66\u7684\u5b9e\u65f6\u901a\u77e5\u3002\u901a\u8fc7\u4f01\u4e1a\u5fae\u4fe1\u7fa4\u673a\u5668\u4eba Webhook&#xff0c;\u914d\u5408 Grafana \u7684\u544a\u8b66\u89c4\u5219\u4e0e\u901a\u77e5\u7b56\u7565&#xff0c;\u5373\u53ef\u5728\u6307\u6807\u5f02\u5e38\u65f6\u7b2c\u4e00\u65f6\u95f4\u6536\u5230\u6d88\u606f\u63d0\u9192\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u3001\u51c6\u5907\u5de5\u4f5c<\/h3>\n<h4>1. \u521b\u5efa\u4f01\u4e1a\u5fae\u4fe1\u7fa4\u673a\u5668\u4eba<\/h4>\n<p>\u5728\u4f01\u4e1a\u5fae\u4fe1\u4e2d&#xff0c;\u8fdb\u5165\u76ee\u6807\u7fa4\u804a&#xff0c;\u70b9\u51fb\u53f3\u4e0a\u89d2\u300c\u2026\u300d\u2192\u300c\u7fa4\u673a\u5668\u4eba\u300d\u2192\u300c\u6dfb\u52a0\u673a\u5668\u4eba\u300d&#xff0c;\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u673a\u5668\u4eba\u3002\u521b\u5efa\u5b8c\u6210\u540e&#xff0c;\u4f1a\u5f97\u5230\u4e00\u4e2a Webhook \u5730\u5740&#xff0c;\u5f62\u5982&#xff1a;<\/p>\n<p>https:\/\/qyapi.weixin.qq.com\/cgi-bin\/webhook\/send?key&#061;xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx<\/p>\n<p>\u8bf7\u59a5\u5584\u4fdd\u5b58\u8be5 Webhook \u5730\u5740&#xff0c;\u540e\u7eed\u914d\u7f6e Grafana \u901a\u77e5\u6e20\u9053\u65f6\u9700\u8981\u7528\u5230\u3002<br \/>\n\u6216\u8005\u5728[\u6d88\u606f\u63a8\u9001]\u4e2d\u6dfb\u52a0\u3002<\/p>\n<h4>2. \u786e\u8ba4 Grafana \u7248\u672c<\/h4>\n<p>\u672c\u6587\u4ee5 Grafana v10.4.7 \u7248\u672c\u4e3a\u4f8b\u3002<\/p>\n<hr \/>\n<h3>\u4e8c\u3001\u914d\u7f6e\u4f01\u4e1a\u5fae\u4fe1\u901a\u77e5\u6e20\u9053<\/h3>\n<h4>1. \u8fdb\u5165\u544a\u8b66\u9875\u9762<\/h4>\n<p>\u5728 Grafana \u5de6\u4fa7\u83dc\u5355\u4e2d&#xff0c;\u4f9d\u6b21\u70b9\u51fb\u300cAlerting\u300d\u2192\u300cContact points\u300d&#xff0c;\u8fdb\u5165\u901a\u77e5\u6e20\u9053\u7ba1\u7406\u9875\u9762\u3002<\/p>\n<h4>2. \u65b0\u589e\u901a\u77e5\u6e20\u9053<\/h4>\n<p>\u70b9\u51fb\u300cAdd contact point\u300d&#xff0c;\u586b\u5199\u4ee5\u4e0b\u4fe1\u606f&#xff1a;<\/p>\n<ul>\n<li>Name&#xff1a;\u586b\u5199\u6e20\u9053\u540d\u79f0&#xff0c;\u4f8b\u5982 \u4f01\u4e1a\u5fae\u4fe1\u544a\u8b66<\/li>\n<li>Integration&#xff1a;\u9009\u62e9 WeCom<\/li>\n<li>URL&#xff1a;\u7c98\u8d34\u4e0a\u4e00\u6b65\u83b7\u53d6\u7684\u4f01\u4e1a\u5fae\u4fe1\u7fa4\u673a\u5668\u4eba Webhook \u5730\u5740<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831225950-6a960766df941.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/li>\n<\/ul>\n<h4>3. \u914d\u7f6e\u6a21\u677f<\/h4>\n<p>\u6a21\u677f\u914d\u7f6e\u5728\u53e6\u4e00Tab\u4e0b&#xff0c;\u70b9\u51fb\u65b0\u5efa<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831225952-6a9607680d0f1.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n\u586b\u5199\u540d\u79f0\u548c\u6a21\u677f\u5185\u5bb9<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831225953-6a9607692e177.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831225954-6a96076a49512.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u6807\u9898<\/p>\n<p><span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span> define <span class=\"token string\">&#034;wecom.title&#034;<\/span> <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><br \/>\n  <span class=\"token operator\">*<\/span><span class=\"token operator\">*<\/span><span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span> <span class=\"token keyword\">if<\/span> eq <span class=\"token punctuation\">.<\/span>Status <span class=\"token string\">&#034;resolved&#034;<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">[<\/span><span class=\"token operator\">&lt;<\/span>font color<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;info&#034;<\/span><span class=\"token operator\">&gt;<\/span>\u6062\u590d<span class=\"token operator\">&lt;<\/span><span class=\"token operator\">\/<\/span>font<span class=\"token operator\">&gt;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span> <span class=\"token keyword\">else<\/span> <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">[<\/span><span class=\"token operator\">&lt;<\/span>font color<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;warning&#034;<\/span><span class=\"token operator\">&gt;<\/span>\u8b66\u544a<span class=\"token operator\">&lt;<\/span><span class=\"token operator\">\/<\/span>font<span class=\"token operator\">&gt;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span> end <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span> <span class=\"token punctuation\">.<\/span>CommonLabels<span class=\"token punctuation\">.<\/span>alertname <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">]<\/span><span class=\"token operator\">*<\/span><span class=\"token operator\">*<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span> end <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><\/p>\n<p>\u4fe1\u606f\u5185\u5bb9<\/p>\n<p><span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span>define <span class=\"token string\">&#034;device.wecom.msg.info&#034;<\/span> <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span>&#8211; <span class=\"token keyword\">if<\/span> eq .Status <span class=\"token string\">&#034;firing&#034;<\/span> &#8211;<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token comment\">## &#x1f525;\u8bbe\u5907\u5931\u8054<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span>&#8211; <span class=\"token keyword\">else<\/span> &#8211;<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token comment\">## \u2705\u8bbe\u5907\u6062\u590d<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span>&#8211; end <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token operator\">&gt;<\/span> \u8bbe\u5907IP: <span class=\"token variable\"><span class=\"token variable\">&#096;<\/span><span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span> .Labels.url <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><span class=\"token variable\">&#096;<\/span><\/span><br \/>\n<span class=\"token operator\">&gt;<\/span> \u8bbe\u5907\u540d\u79f0: <span class=\"token variable\"><span class=\"token variable\">&#096;<\/span><span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span> .Labels.target_name <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><span class=\"token variable\">&#096;<\/span><\/span><br \/>\n<span class=\"token operator\">&gt;<\/span> \u5f00\u59cb\u65f6\u95f4: <span class=\"token variable\"><span class=\"token variable\">&#096;<\/span><span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span> .StartsAt.Format <span class=\"token string\">&#034;2006-01-02 15:04:05&#034;<\/span> <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><span class=\"token variable\">&#096;<\/span><\/span><br \/>\n<span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span> <span class=\"token keyword\">if<\/span> eq .Status <span class=\"token string\">&#034;resolved&#034;<\/span> &#8211;<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token operator\">&gt;<\/span> \u6062\u590d\u65f6\u95f4&#xff1a;<span class=\"token variable\"><span class=\"token variable\">&#096;<\/span><span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span> .EndsAt.Format <span class=\"token string\">&#034;2006-01-02 15:04:05&#034;<\/span> <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><span class=\"token variable\">&#096;<\/span><\/span><br \/>\n<span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span>&#8211; end <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span> end <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span> define <span class=\"token string\">&#034;device.wecom.msg&#034;<\/span> <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span> <span class=\"token keyword\">if<\/span> .Alerts.Firing <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><br \/>\n**\u89e6\u53d1\u544a\u8b66\u5217\u8868**<br \/>\n<span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span> range .Alerts.Firing <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><br \/>\n <span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span> template <span class=\"token string\">&#034;device.wecom.msg.info&#034;<\/span> <span class=\"token builtin class-name\">.<\/span> <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span> end <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span> end <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span> <span class=\"token keyword\">if<\/span> .Alerts.Resolved <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><br \/>\n**\u544a\u8b66\u6062\u590d\u5217\u8868**<br \/>\n<span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span> range .Alerts.Resolved <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><br \/>\n <span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span> template <span class=\"token string\">&#034;device.wecom.msg.info&#034;<\/span> <span class=\"token builtin class-name\">.<\/span> <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span> end <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span> end <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">{<\/span> end <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">}<\/span><\/p>\n<p>\u6700\u540e\u5728Optional WeCom settings\u4e2d\u5173\u8054Notification Templates<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831225955-6a96076bc4665.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>3. \u53d1\u9001\u6d4b\u8bd5\u6d88\u606f<\/h4>\n<p>\u4fdd\u5b58\u597d\u4e4b\u540e&#xff0c;\u70b9\u51fbtest&#xff0c;\u4e4b\u540e\u4f01\u5fae\u4f1a\u6536\u5230\u6d88\u606f\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831225956-6a96076cdbfe3.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<hr \/>\n<h3>\u4e09\u3001\u914d\u7f6e\u544a\u8b66\u89c4\u5219<\/h3>\n<h4>1. \u521b\u5efa\u544a\u8b66\u89c4\u5219<\/h4>\n<p>\u5728\u300cAlerting\u300d\u2192\u300cAlert rules\u300d\u9875\u9762&#xff0c;\u70b9\u51fb\u300cNew alert rule\u300d&#xff0c;\u914d\u7f6e\u544a\u8b66\u6761\u4ef6\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831225958-6a96076e0cd7b.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/>\u586b\u5199\u544a\u8b66\u540d\u79f0<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831225959-6a96076f2825a.png\" alt=\"\" \/>\u586b\u5199query&#xff0c;\u4ee5\u53ca\u914d\u7f6eruduce\u8f6c\u6362\u548cThreshold\u914d\u7f6e<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831230000-6a960770475af.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/>\u8bbe\u7f6e\u544a\u8b66\u6240\u5728\u7684\u8bc4\u4f30\u7ec4\u4ee5\u53ca\u6587\u4ef6\u5939<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831230001-6a960771657a7.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n\u914d\u7f6eLabels and notifications \u81ea\u5b9a\u4e49\u4e00\u4e2aLabels &#xff0c;\u540e\u9762\u8981\u548cnotification policy\u5173\u8054<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831230002-6a9607728260b.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>2. \u5173\u8054\u901a\u77e5\u7b56\u7565<\/h4>\n<p>\u5728\u300cAlerting\u300d\u2192\u300cNotification policies\u300d\u9875\u9762&#xff0c;\u5c06\u544a\u8b66\u89c4\u5219\u5173\u8054\u5230\u4e0a\u4e00\u6b65\u521b\u5efa\u7684\u901a\u77e5\u6e20\u9053\u3002Matching labels \u9009\u62e9\u4e0a\u9762\u544a\u8b66\u89c4\u5219\u91cc\u7684labels<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831230003-6a9607739a11f.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n\u4f5c\u4e3aDefault policy \u4e0b\u7684\u914d\u7f6e&#xff0c;\u4f1a\u7ee7\u627f\u4e0a\u9762\u7684\u4e00\u4e9b\u89c4\u5219<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831230004-6a960774c3d09.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<hr \/>\n<h3>\u56db\u3001\u9a8c\u8bc1\u4e0e\u6d4b\u8bd5<\/h3>\n<h4>1. \u53d1\u9001\u6d4b\u8bd5\u6d88\u606f<\/h4>\n<p>\u5728\u901a\u77e5\u6e20\u9053\u5217\u8868\u4e2d&#xff0c;\u70b9\u51fb\u300cTest\u300d\u6309\u94ae&#xff0c;Grafana \u4f1a\u5411\u4f01\u4e1a\u5fae\u4fe1\u673a\u5668\u4eba\u53d1\u9001\u4e00\u6761\u6d4b\u8bd5\u6d88\u606f\u3002\u5982\u679c\u4f01\u4e1a\u5fae\u4fe1\u7fa4\u4e2d\u6536\u5230\u6d88\u606f&#xff0c;\u8bf4\u660e\u914d\u7f6e\u6210\u529f\u3002<\/p>\n<h4>2. \u89e6\u53d1\u771f\u5b9e\u544a\u8b66<\/h4>\n<p>\u624b\u52a8\u89e6\u53d1\u4e00\u6b21\u544a\u8b66&#xff08;\u4f8b\u5982\u4e34\u65f6\u5c06\u9608\u503c\u8c03\u4f4e&#xff09;&#xff0c;\u786e\u8ba4\u4f01\u4e1a\u5fae\u4fe1\u80fd\u6536\u5230\u5b8c\u6574\u7684\u544a\u8b66\u5185\u5bb9\u3002<\/p>\n<hr \/>\n<h3>\u4e94\u3001\u5e38\u89c1\u95ee\u9898<\/h3>\n<h4>1. \u4f01\u4e1a\u5fae\u4fe1\u6536\u4e0d\u5230\u6d88\u606f<\/h4>\n<ul>\n<li>\u68c0\u67e5 Webhook \u5730\u5740\u662f\u5426\u6b63\u786e&#xff0c;key \u662f\u5426\u5b8c\u6574\u3002<\/li>\n<li>\u786e\u8ba4\u4f01\u4e1a\u5fae\u4fe1\u673a\u5668\u4eba\u662f\u5426\u88ab\u7fa4\u5185\u6210\u5458\u79fb\u9664\u3002<\/li>\n<li>\u67e5\u770b Grafana \u544a\u8b66\u5386\u53f2&#xff0c;\u786e\u8ba4\u544a\u8b66\u662f\u5426\u771f\u6b63\u89e6\u53d1\u3002<br \/>\n\u8fd8\u6709\u53ef\u4ee5\u66f4\u6362alert rule \u7684name,\u53ef\u80fd\u8fd9\u4e2a\u544a\u8b66\u8fd8\u6ca1reslove,\u6240\u4ee5\u89e6\u53d1\u544a\u8b66\u8fd8\u662f\u53d1\u4e0d\u51fa\u53bb&#xff0c;\u901a\u8fc7\u66f4\u6362\u540d\u79f0&#xff0c;\u76f8\u5f53\u4e8e\u4e00\u4e2a\u65b0\u7684\u544a\u8b66\u89c4\u5219<\/li>\n<\/ul>\n<hr \/>\n<h3>\u603b\u7ed3<\/h3>\n<p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4&#xff0c;\u5373\u53ef\u5b8c\u6210 Grafana \u544a\u8b66\u63a8\u9001\u4f01\u4e1a\u5fae\u4fe1\u7684\u914d\u7f6e\u3002\u6838\u5fc3\u8981\u70b9\u5305\u62ec&#xff1a;\u521b\u5efa\u4f01\u4e1a\u5fae\u4fe1\u7fa4\u673a\u5668\u4eba\u83b7\u53d6 Webhook\u3001\u5728 Grafana \u4e2d\u914d\u7f6e Webhook \u901a\u77e5\u6e20\u9053\u3001\u7f16\u5199 markdown \u6d88\u606f\u6a21\u677f\u3001\u521b\u5efa\u544a\u8b66\u89c4\u5219\u5e76\u5173\u8054\u901a\u77e5\u7b56\u7565\u3002\u914d\u7f6e\u5b8c\u6210\u540e&#xff0c;\u76d1\u63a7\u6307\u6807\u5f02\u5e38\u65f6\u5373\u53ef\u5b9e\u65f6\u6536\u5230\u4f01\u4e1a\u5fae\u4fe1\u544a\u8b66\u901a\u77e5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00<br \/>\n\u672c\u6587\u4ecb\u7ecd\u5982\u4f55\u5c06 Grafana \u7684\u544a\u8b66\u6d88\u606f\u63a8\u9001\u5230\u4f01\u4e1a\u5fae\u4fe1\u7fa4\u673a\u5668\u4eba&#xff0c;\u5b9e\u73b0\u76d1\u63a7\u544a\u8b66\u7684\u5b9e\u65f6\u901a\u77e5\u3002\u901a\u8fc7\u4f01\u4e1a\u5fae\u4fe1\u7fa4\u673a\u5668\u4eba Webhook&#xff0c;\u914d\u5408 Grafana \u7684\u544a\u8b66\u89c4\u5219\u4e0e\u901a\u77e5\u7b56\u7565&#xff0c;\u5373\u53ef\u5728\u6307\u6807\u5f02\u5e38\u65f6\u7b2c\u4e00\u65f6\u95f4\u6536\u5230\u6d88\u606f\u63d0\u9192\u3002\u4e00\u3001\u51c6\u5907\u5de5\u4f5c<br \/>\n1. \u521b\u5efa\u4f01\u4e1a\u5fae\u4fe1\u7fa4\u673a\u5668\u4eba<br \/>\n\u5728\u4f01\u4e1a\u5fae\u4fe1\u4e2d&#xff0c;\u8fdb\u5165\u76ee\u6807\u7fa4\u804a&#xff0c;\u70b9\u51fb\u53f3\u4e0a\u89d2\u300c\u2026\u300d\u2192\u300c\u7fa4\u673a\u5668\u4eba\u300d\u2192\u300c\u6dfb\u52a0\u673a\u5668\u4eba\u300d&#xff0c;\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u673a\u5668\u4eba\u3002\u521b\u5efa\u5b8c\u6210\u540e&#xff0c;\u4f1a\u5f97\u5230\u4e00\u4e2a We<\/p>\n","protected":false},"author":2,"featured_media":98565,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[1647,1747],"topic":[],"class_list":["post-98578","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-grafana","tag-1747"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Grafana \u914d\u7f6e\u544a\u8b66\u63a8\u9001\u4f01\u4e1a\u5fae\u4fe1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/98578.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Grafana \u914d\u7f6e\u544a\u8b66\u63a8\u9001\u4f01\u4e1a\u5fae\u4fe1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u524d\u8a00 \u672c\u6587\u4ecb\u7ecd\u5982\u4f55\u5c06 Grafana \u7684\u544a\u8b66\u6d88\u606f\u63a8\u9001\u5230\u4f01\u4e1a\u5fae\u4fe1\u7fa4\u673a\u5668\u4eba&#xff0c;\u5b9e\u73b0\u76d1\u63a7\u544a\u8b66\u7684\u5b9e\u65f6\u901a\u77e5\u3002\u901a\u8fc7\u4f01\u4e1a\u5fae\u4fe1\u7fa4\u673a\u5668\u4eba Webhook&#xff0c;\u914d\u5408 Grafana \u7684\u544a\u8b66\u89c4\u5219\u4e0e\u901a\u77e5\u7b56\u7565&#xff0c;\u5373\u53ef\u5728\u6307\u6807\u5f02\u5e38\u65f6\u7b2c\u4e00\u65f6\u95f4\u6536\u5230\u6d88\u606f\u63d0\u9192\u3002\u4e00\u3001\u51c6\u5907\u5de5\u4f5c 1. \u521b\u5efa\u4f01\u4e1a\u5fae\u4fe1\u7fa4\u673a\u5668\u4eba \u5728\u4f01\u4e1a\u5fae\u4fe1\u4e2d&#xff0c;\u8fdb\u5165\u76ee\u6807\u7fa4\u804a&#xff0c;\u70b9\u51fb\u53f3\u4e0a\u89d2\u300c\u2026\u300d\u2192\u300c\u7fa4\u673a\u5668\u4eba\u300d\u2192\u300c\u6dfb\u52a0\u673a\u5668\u4eba\u300d&#xff0c;\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u673a\u5668\u4eba\u3002\u521b\u5efa\u5b8c\u6210\u540e&#xff0c;\u4f1a\u5f97\u5230\u4e00\u4e2a We\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/98578.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-31T23:00:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831225950-6a960766df941.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/98578.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/98578.html\",\"name\":\"Grafana \u914d\u7f6e\u544a\u8b66\u63a8\u9001\u4f01\u4e1a\u5fae\u4fe1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-31T23:00:06+00:00\",\"dateModified\":\"2026-08-31T23:00:06+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/98578.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/98578.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/98578.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Grafana \u914d\u7f6e\u544a\u8b66\u63a8\u9001\u4f01\u4e1a\u5fae\u4fe1\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Grafana \u914d\u7f6e\u544a\u8b66\u63a8\u9001\u4f01\u4e1a\u5fae\u4fe1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/98578.html","og_locale":"zh_CN","og_type":"article","og_title":"Grafana \u914d\u7f6e\u544a\u8b66\u63a8\u9001\u4f01\u4e1a\u5fae\u4fe1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u524d\u8a00 \u672c\u6587\u4ecb\u7ecd\u5982\u4f55\u5c06 Grafana \u7684\u544a\u8b66\u6d88\u606f\u63a8\u9001\u5230\u4f01\u4e1a\u5fae\u4fe1\u7fa4\u673a\u5668\u4eba&#xff0c;\u5b9e\u73b0\u76d1\u63a7\u544a\u8b66\u7684\u5b9e\u65f6\u901a\u77e5\u3002\u901a\u8fc7\u4f01\u4e1a\u5fae\u4fe1\u7fa4\u673a\u5668\u4eba Webhook&#xff0c;\u914d\u5408 Grafana \u7684\u544a\u8b66\u89c4\u5219\u4e0e\u901a\u77e5\u7b56\u7565&#xff0c;\u5373\u53ef\u5728\u6307\u6807\u5f02\u5e38\u65f6\u7b2c\u4e00\u65f6\u95f4\u6536\u5230\u6d88\u606f\u63d0\u9192\u3002\u4e00\u3001\u51c6\u5907\u5de5\u4f5c 1. \u521b\u5efa\u4f01\u4e1a\u5fae\u4fe1\u7fa4\u673a\u5668\u4eba \u5728\u4f01\u4e1a\u5fae\u4fe1\u4e2d&#xff0c;\u8fdb\u5165\u76ee\u6807\u7fa4\u804a&#xff0c;\u70b9\u51fb\u53f3\u4e0a\u89d2\u300c\u2026\u300d\u2192\u300c\u7fa4\u673a\u5668\u4eba\u300d\u2192\u300c\u6dfb\u52a0\u673a\u5668\u4eba\u300d&#xff0c;\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u673a\u5668\u4eba\u3002\u521b\u5efa\u5b8c\u6210\u540e&#xff0c;\u4f1a\u5f97\u5230\u4e00\u4e2a We","og_url":"https:\/\/www.wsisp.com\/helps\/98578.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-31T23:00:06+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260831225950-6a960766df941.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/98578.html","url":"https:\/\/www.wsisp.com\/helps\/98578.html","name":"Grafana \u914d\u7f6e\u544a\u8b66\u63a8\u9001\u4f01\u4e1a\u5fae\u4fe1 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-31T23:00:06+00:00","dateModified":"2026-08-31T23:00:06+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/98578.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/98578.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/98578.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Grafana \u914d\u7f6e\u544a\u8b66\u63a8\u9001\u4f01\u4e1a\u5fae\u4fe1"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/98578","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=98578"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/98578\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/98565"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=98578"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=98578"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=98578"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=98578"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}