From 1cf60b94762499f0ac580b3fc656011782cb46c3 Mon Sep 17 00:00:00 2001 From: Yibo Liu Date: Fri, 6 Dec 2024 10:37:19 +0800 Subject: [PATCH] Update index.mdx --- docs/zh/14-reference/01-components/12-tdinsight/index.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/zh/14-reference/01-components/12-tdinsight/index.mdx b/docs/zh/14-reference/01-components/12-tdinsight/index.mdx index e2ffff4adc..0f6ea46ffd 100644 --- a/docs/zh/14-reference/01-components/12-tdinsight/index.mdx +++ b/docs/zh/14-reference/01-components/12-tdinsight/index.mdx @@ -147,8 +147,8 @@ TDinsight 仪表盘旨在提供 TDengine 相关资源的使用情况和状态, ### 预配置告警规则自动导入 -涛思总结用户使用经验,整理出14个常用的告警规则(alert rule),能够对集群关键指标进行监测并及时上报指标异常、超限等告警信息。 -从 TDengine-server 3.3.4.3版本(tdengine-datasource 3.6.3)开始,TDengine Datasource 支持预配置告警规则自动导入功能,用户可将14个告警规则一键导入 Grafana(11及以上版本),直接使用。 +涛思总结用户使用经验,整理出 14 个常用的告警规则(alert rule),能够对集群关键指标进行监测并及时上报指标异常、超限等告警信息。 +从 TDengine-server 3.3.4.3 版本(tdengine-datasource 3.6.3)开始,TDengine Datasource 支持预配置告警规则自动导入功能,用户可将 14 个告警规则一键导入 Grafana(11 及以上版本),直接使用。 预配置告警规则导入方法如下图所示,在 tdengine-datasource setting 界面,打开 “Load Tengine Alert” 开关,点击 “Save & test” 按钮后,插件会自动加载上述告警规则, 规则会放入以数据源名称 + “-alert” 的 grafana 告警目录中。如不需要,关闭 “Load TDengine Alert” 开关,点击 “Clear TDengine Alert” 旁边的按钮则会清除此数据源已导入的所有告警规则。 ![TDengine Alert](./assets/TDengine-Alert.webp) @@ -158,7 +158,7 @@ TDinsight 仪表盘旨在提供 TDengine 相关资源的使用情况和状态, ![Alert-rules](./assets/Alert-rules.webp) -14个告警规则具体配置如下: +14 个告警规则具体配置如下: | 规则名称| 规则阈值| 无监控数据时的行为 | 数据扫描间隔 |持续时间 | 执行SQL | | ------ | --------- | ---------------- | ----------- |------- |----------------------| @@ -178,7 +178,7 @@ TDinsight 仪表盘旨在提供 TDengine 相关资源的使用情况和状态, |dnode 重启 |max(update_time) > last(update_time)|触发告警|90秒|0秒|`select now(), dnode_id, max(uptime) - last(uptime) as dnode_restart from log.taosd_dnodes_info where _ts >= (now - 90s) and _ts < now partition by dnode_id`| 用户可参考上述告警规则,根据自己业务需求进行修改与完善。 -Grafana7.5 及以下版本,Dashboards 与 Alert rules 功能合在一起,而之后的新版本两个功能是分开的。为兼容 Grafana7.5及以下版本,TDinsight 面板中增加了 Alert Used Only 面板,仅 Grafana7.5及以下版本需要使用。 +Grafana7.5 及以下版本,Dashboards 与 Alert rules 功能合在一起,而之后的新版本两个功能是分开的。为兼容 Grafana7.5 及以下版本,TDinsight 面板中增加了 Alert Used Only 面板,仅 Grafana7.5 及以下版本需要使用。 ![Alert Used Only](./assets/Alert-Used-Only.webp)