Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/m23.2 #22683

Merged
merged 53 commits into from
Sep 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
1190442
fix: use MD5 hash to fix aliasname not enough to hold dbname.tbname
glzhao89 Aug 23, 2023
1a5e288
add test cases
glzhao89 Aug 23, 2023
e26e0e2
add test
glzhao89 Aug 23, 2023
7396a7c
fix: fix where ts < now used in nested query report invalid timestamp
glzhao89 Aug 24, 2023
2a5f4a3
add cases
glzhao89 Aug 24, 2023
b5172e8
add cases
glzhao89 Aug 24, 2023
f2c3772
doc: resovle broken link
gccgdb1234 Aug 25, 2023
84069dc
doc: refine some links
gccgdb1234 Aug 25, 2023
7a73ea0
doc: remove duplicate install page
gccgdb1234 Aug 25, 2023
d0fb485
fix all possible overflow using md5
glzhao89 Aug 29, 2023
026f61e
fix bug
glzhao89 Aug 29, 2023
d2433a4
remove comments
glzhao89 Aug 29, 2023
4b954c0
fix potential overflow
glzhao89 Aug 30, 2023
176c29a
Merge pull request #22641 from taosdata/docs/wade-20230830
gccgdb1234 Aug 30, 2023
b5450bd
Update 09-udf.md
gccgdb1234 Aug 30, 2023
8b822fe
Update 09-udf.md
gccgdb1234 Aug 30, 2023
962ae60
update rebuild tag index doc
Aug 30, 2023
9888a31
Merge pull request #22644 from taosdata/doc/rebuildIndex
hjxilinx Aug 30, 2023
fabbe61
fix log error
Aug 30, 2023
db09d2f
Merge pull request #22648 from taosdata/docs/wade-20230830
gccgdb1234 Aug 30, 2023
9431767
Merge pull request #22649 from taosdata/docs/wade-20230830
gccgdb1234 Aug 30, 2023
236cfad
Update 01-index.md
gccgdb1234 Aug 30, 2023
c2301ca
Update 01-index.md
gccgdb1234 Aug 30, 2023
f94c849
Merge pull request #22540 from taosdata/fix/TS-3821
dapan1121 Aug 30, 2023
6631a04
docs: refine grafana plugin docs (#22651)
sangshuduo Aug 30, 2023
d054c7f
Merge pull request #22645 from taosdata/fix/fixLogError
hjxilinx Aug 30, 2023
a1c55d0
Merge pull request #22564 from taosdata/fix/TD-25540-new
dapan1121 Aug 30, 2023
23c4d7e
fix:dead lock
wangmm0220 Aug 30, 2023
2ed5767
fix merge error
Aug 30, 2023
4b1e738
change asan leak
Aug 30, 2023
4372ebd
change asan leak
Aug 30, 2023
2686a26
Merge branch 'main' of https://github.com/taosdata/TDengine into fix/…
wangmm0220 Aug 30, 2023
a4e29e3
fix:modify poll delay bigger to avoid lose data
wangmm0220 Aug 30, 2023
4f20359
fix:modify log level to trace
wangmm0220 Aug 30, 2023
7f2a9a7
fix:cancel the limit time for consume
wangmm0220 Aug 31, 2023
94e8977
Merge pull request #22658 from taosdata/fix/TD-25986
hjxilinx Aug 31, 2023
a985b98
Merge pull request #22656 from taosdata/fix/TD-26042
gccgdb1234 Aug 31, 2023
3014e4c
docs: refine tdinsight docs (#22666)
sangshuduo Aug 31, 2023
3ac1d3d
docs: add note for grafana unified alerting (#22672)
sangshuduo Aug 31, 2023
cff1743
fix: aggragate function omited issue
dapan1121 Aug 31, 2023
eb21288
docs: refine grafana docs en (#22675)
sangshuduo Aug 31, 2023
a02ab4c
fix:coredump if saved epoch bigger than request epoch & modify test c…
wangmm0220 Aug 31, 2023
371f6ab
Merge pull request #22678 from taosdata/fix/TD-26042
gccgdb1234 Aug 31, 2023
071e595
fix: case issue
dapan1121 Sep 1, 2023
228e6c6
Merge remote-tracking branch 'origin/main' into 3.0
dapan1121 Sep 1, 2023
1138670
enh: upgrade more efficiently
hzcheng Sep 1, 2023
6a24e2c
Merge pull request #22673 from taosdata/fix/TS-3883
dapan1121 Sep 1, 2023
ef9d137
fix: code merge issue
dapan1121 Sep 1, 2023
eda96e4
Merge remote-tracking branch 'origin/main' into fix/m23.2
dapan1121 Sep 1, 2023
e7b467d
fix: getSlotKey param issue
dapan1121 Sep 1, 2023
8742f7c
fix: add new param
dapan1121 Sep 1, 2023
c2c96c4
Merge pull request #22685 from taosdata/fix/TS-3865
gccgdb1234 Sep 1, 2023
2141ac8
Merge remote-tracking branch 'origin/main' into fix/m23.2
dapan1121 Sep 1, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/en/07-develop/09-udf.md
Original file line number Diff line number Diff line change
Expand Up @@ -887,4 +887,4 @@ The `pycumsum` function finds the cumulative sum for all data in the input colum

</details>
## Manage and Use UDF
You need to add UDF to TDengine before using it in SQL queries. For more information about how to manage UDF and how to invoke UDF, please see [Manage and Use UDF](../12-taos-sql/26-udf.md).
You need to add UDF to TDengine before using it in SQL queries. For more information about how to manage UDF and how to invoke UDF, please see [Manage and Use UDF](../taos-sql/udf/).
2 changes: 2 additions & 0 deletions docs/en/12-taos-sql/07-tag-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@ You can also add filter conditions to limit the results.
6. You can' create index on a normal table or a child table.

7. If the unique values of a tag column are too few, it's better not to create index on such tag columns, the benefit would be very small.

8. The newly created super table will randomly generate an index name for the first column of tags, which is composed of the name tag0 column with 23 random bytes, and can be rebuilt or dropped.
24 changes: 6 additions & 18 deletions docs/en/14-reference/07-tdinsight/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ After TDengine starts, it automatically writes many metrics in specific interval
To deploy TDinsight, we need
- a single-node TDengine server or a multi-node TDengine cluster and a [Grafana] server are required. This dashboard requires TDengine 3.0.1.0 and above, with the monitoring feature enabled. For detailed configuration, please refer to [TDengine monitoring configuration](../config/#monitoring-parameters).
- taosAdapter has been installed and running, please refer to [taosAdapter](../taosadapter).
- taosKeeper has been installed and running, please refer to [taosKeeper](../taosKeeper).
- taosKeeper has been installed and running, please note the monitor-related items in taos.cfg file need be configured. Refer to [taosKeeper](../taosKeeper) for details.

Please record
- The endpoint of taosAdapter REST service, for example `http://tdengine.local:6041`
Expand Down Expand Up @@ -80,7 +80,7 @@ chmod +x TDinsight.sh
./TDinsight.sh
```

This script will automatically download the latest [Grafana TDengine data source plugin](https://github.com/taosdata/grafanaplugin/releases/latest) and [TDinsight dashboard](https://github.com/taosdata/grafanaplugin/blob/master/dashboards/TDinsightV3.json) with configurable parameters for command-line options to the [Grafana Provisioning](https://grafana.com/docs/grafana/latest/administration/provisioning/) configuration file to automate deployment and updates, etc. With the alert setting options provided by this script, you can also get built-in support for AliCloud SMS alert notifications.
This script will automatically download the latest [Grafana TDengine data source plugin](https://github.com/taosdata/grafanaplugin/releases/latest) and [TDinsight dashboard](https://github.com/taosdata/grafanaplugin/blob/master/dashboards/TDinsightV3.json) with configurable parameters for command-line options to the [Grafana Provisioning](https://grafana.com/docs/grafana/latest/administration/provisioning/) configuration file to automate deployment and updates, etc.

Assume you use TDengine and Grafana's default services on the same host. Run `. /TDinsight.sh` and open the Grafana browser window to see the TDinsight dashboard.

Expand Down Expand Up @@ -112,9 +112,6 @@ Install and configure TDinsight dashboard in Grafana on Ubuntu 18.04/20.04 syste
-i, --tdinsight-uid <string> Replace with a non-space ASCII code as the dashboard id. [default: tdinsight]
-t, --tdinsight-title <string> Dashboard title. [default: TDinsight]
-e, --tdinsight-editable If the provisioning dashboard could be editable. [default: false]

-E, --external-notifier <string> Apply external notifier uid to TDinsight dashboard.

```

Most command-line options can take effect the same as environment variables.
Expand All @@ -132,26 +129,17 @@ Most command-line options can take effect the same as environment variables.
| -i | --tdinsight-uid | TDINSIGHT_DASHBOARD_UID | TDinsight `uid` of the dashboard. [default: tdinsight] |
| -t | --tdinsight-title | TDINSIGHT_DASHBOARD_TITLE | TDinsight dashboard title. [Default: TDinsight] | -e | -tdinsight-title
| -e | --tdinsight-editable | TDINSIGHT_DASHBOARD_EDITABLE | If the dashboard is configured to be editable. [Default: false] | -e | --external
| -E | --external-notifier | EXTERNAL_NOTIFIER | Apply the external notifier uid to the TDinsight dashboard. | -s

:::note
The `-E` option is deprecated. We use Grafana unified alerting function instead.
:::

Suppose you start a TDengine database on host `tdengine` with HTTP API port `6041`, user `root1`, and password `pass5ord`. Execute the script.

```bash
sudo . /TDinsight.sh -a http://tdengine:6041 -u root1 -p pass5ord
```

We provide a "-E" option to configure TDinsight to use the existing Notification Channel from the command line. Assuming your Grafana user and password is `admin:admin`, use the following command to get the `uid` of an existing notification channel.

```bash
curl --no-progress-meter -u admin:admin http://localhost:3000/api/alert-notifications | jq
```

Use the `uid` value obtained above as `-E` input.

```bash
./TDinsight.sh -a http://tdengine:6041 -u root1 -p pass5ord -E existing-notifier
```

If you want to monitor multiple TDengine clusters, you need to set up numerous TDinsight dashboards. Setting up non-default TDinsight requires some changes: the `-n` `-i` `-t` options need to be changed to non-default names, and `-N` and `-L` should also be changed if using the built-in SMS alerting feature.

```bash
Expand Down
4 changes: 2 additions & 2 deletions docs/en/20-third-party/01-grafana.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,11 @@ The example to query the average system memory usage for the specified interval

### Importing the Dashboard

You can install TDinsight dashboard in data source configuration page (like `http://localhost:3000/datasources/edit/1/dashboards`) as a monitoring visualization tool for TDengine cluster. Ensure that you use TDinsight for 3.x.
You can install TDinsight dashboard in data source configuration page (like `http://localhost:3000/datasources/edit/1/dashboards`) as a monitoring visualization tool for TDengine cluster. Ensure that you use TDinsight for 3.x. Please note TDinsight for 3.x needs to configure and run taoskeeper correctly. Check the [TDinsight User Manual](/reference/tdinsight/) for the details.

![TDengine Database Grafana plugine import dashboard](./import_dashboard.webp)

A dashboard for TDengine 2.x has been published on Grafana: [Dashboard 15167 - TDinsight](https://grafana.com/grafana/dashboards/15167)). Check the [TDinsight User Manual](/reference/tdinsight/) for the details.
A dashboard for TDengine 2.x has been published on Grafana: [Dashboard 15167 - TDinsight](https://grafana.com/grafana/dashboards/15167)).

For more dashboards using TDengine data source, [search here in Grafana](https://grafana.com/grafana/dashboards/?dataSource=tdengine-datasource). Here is a sub list:

Expand Down
4 changes: 1 addition & 3 deletions docs/zh/01-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,14 @@ TDengine 充分利用了时序数据的特点,提出了“一个数据采集

如果你是开发工程师,请一定仔细阅读[开发指南](./develop)一章,该部分对数据库连接、建模、插入数据、查询、流式计算、缓存、数据订阅、用户自定义函数等功能都做了详细介绍,并配有各种编程语言的示例代码。大部分情况下,你只要复制粘贴示例代码,针对自己的应用稍作改动,就能跑起来。

我们已经生活在大数据时代,纵向扩展已经无法满足日益增长的业务需求,任何系统都必须具有水平扩展的能力,集群成为大数据以及 Database 系统的不可缺失功能。TDengine 团队不仅实现了集群功能,而且将这一重要核心功能开源。怎么部署、管理和维护 TDengine 集群,请仔细参考[部署集群](./deployment)一章。
我们已经生活在大数据时代,纵向扩展已经无法满足日益增长的业务需求,任何系统都必须具有水平扩展的能力,集群成为大数据以及 Database 系统的不可缺失功能。TDengine 团队不仅实现了集群功能,而且将这一重要核心功能开源。怎么部署、管理和维护 TDengine 集群,请仔细参考[部署集群]一章。

TDengine 采用 SQL 作为查询语言,大大降低学习成本、降低迁移成本,但同时针对时序数据场景,又做了一些扩展,以支持插值、降采样、时间加权平均等操作。[SQL 手册](./taos-sql)一章详细描述了 SQL 语法、详细列出了各种支持的命令和函数。

如果你是系统管理员,关心安装、升级、容错灾备、关心数据导入、导出、配置参数,如何监测 TDengine 是否健康运行,如何提升系统运行的性能,请仔细参考[运维指南](./operation)一章。

如果你对 TDengine 的外围工具、REST API、各种编程语言的连接器(Connector)想做更多详细了解,请看[参考指南](./reference)一章。

如果你对 TDengine 的内部架构设计很有兴趣,欢迎仔细阅读[技术内幕](./tdinternal)一章,里面对集群的设计、数据分区、分片、写入、读出、查询、聚合查询的流程都做了详细的介绍。如果你想研读 TDengine 代码甚至贡献代码,请一定仔细读完这一章。

最后,作为一个开源软件,欢迎大家的参与。如果发现文档有任何错误、描述不清晰的地方,请在每个页面的最下方,点击“编辑本文档”直接进行修改。

Together, we make a difference!
4 changes: 2 additions & 2 deletions docs/zh/07-develop/09-udf.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ ldconfig
3. 如果 Python UDF 程序执行时,通过 PYTHONPATH 引用其它的包,可以设置 taos.cfg 的 UdfdLdLibPath 变量为PYTHONPATH的内容

4. 启动 `taosd` 服务
细节请参考 [快速开始](../../get-started)
细节请参考 [立即开始](../../get-started)

### 接口定义

Expand Down Expand Up @@ -883,5 +883,5 @@ pycumsum 使用 numpy 计算输入列所有数据的累积和。

</details>
## 管理和使用 UDF
在使用 UDF 之前需要先将其加入到 TDengine 系统中。关于如何管理和使用 UDF,请参考[管理和使用 UDF](../12-taos-sql/26-udf.md)
在使用 UDF 之前需要先将其加入到 TDengine 系统中。关于如何管理和使用 UDF,请参考[管理和使用 UDF](../../taos-sql/udf)

2 changes: 0 additions & 2 deletions docs/zh/08-connector/_linux_install.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import PkgListV3 from "/components/PkgListV3";

<PkgListV3 type={1} sys="Linux" />

[所有下载](../../releases/tdengine)

2. 解压缩软件包

将软件包放置在当前用户可读写的任意目录下,然后执行下面的命令:`tar -xzvf TDengine-client-VERSION.tar.gz`
Expand Down
2 changes: 0 additions & 2 deletions docs/zh/08-connector/_macos_install.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import PkgListV3 from "/components/PkgListV3";

<PkgListV3 type={8} sys="macOS" />

[所有下载](../../releases/tdengine)

2. 执行安装程序,按提示选择默认值,完成安装。如果安装被阻止,可以右键或者按 Ctrl 点击安装包,选择 `打开`。
3. 配置 taos.cfg

Expand Down
4 changes: 1 addition & 3 deletions docs/zh/08-connector/_windows_install.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ import PkgListV3 from "/components/PkgListV3";
1. 下载客户端安装包

<PkgListV3 type={4} sys="Windows" />

[所有下载](../../releases/tdengine)


2. 执行安装程序,按提示选择默认值,完成安装
3. 安装路径

Expand Down
4 changes: 3 additions & 1 deletion docs/zh/12-taos-sql/07-tag-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,6 @@ SELECT * FROM information_schema.INS_INDEXES

6. 不支持对普通和子表建立索引。

7. 如果某个 tag 列的唯一值较少时,不建议对其建立索引,这种情况下收效甚微。
7. 如果某个 tag 列的唯一值较少时,不建议对其建立索引,这种情况下收效甚微。

8. 新建立的超级表,会给第一列tag,随机生成一个indexNewName, 生成规则是:tag0的name + 23个byte, 在系统表可以查,也可以按需要drop,行为和其他列tag 的索引一样
4 changes: 2 additions & 2 deletions docs/zh/14-reference/04-taosadapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ AllowWebSockets
node_export 是一个机器指标的导出器。请访问 [https://github.com/prometheus/node_exporter](https://github.com/prometheus/node_exporter) 了解更多信息。
- 支持 Prometheus remote_read 和 remote_write
remote_read 和 remote_write 是 Prometheus 数据读写分离的集群方案。请访问[https://prometheus.io/blog/2019/10/10/remote-read-meets-streaming/#remote-apis](https://prometheus.io/blog/2019/10/10/remote-read-meets-streaming/#remote-apis) 了解更多信息。
- 获取 table 所在的虚拟节点组(VGroup)的 VGroup ID。关于虚拟节点组(VGroup)的更多信息,请访问[整体架构文档](/tdinternal/arch/#主要逻辑单元) 。
- 获取 table 所在的虚拟节点组(VGroup)的 VGroup ID。

## 接口

Expand Down Expand Up @@ -245,7 +245,7 @@ Prometheus 使用的由 \*NIX 内核暴露的硬件和操作系统指标的输

### 获取 table 的 VGroup ID

可以访问 http 接口 `http://<fqdn>:6041/rest/vgid?db=<db>&table=<table>` 获取 table 的 VGroup ID。关于虚拟节点组(VGroup)的更多信息,请访问[整体架构文档](/tdinternal/arch/#主要逻辑单元) 。
可以访问 http 接口 `http://<fqdn>:6041/rest/vgid?db=<db>&table=<table>` 获取 table 的 VGroup ID。

## 内存使用优化方法

Expand Down
6 changes: 1 addition & 5 deletions docs/zh/14-reference/05-taosbenchmark.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ taosBenchmark (曾用名 taosdemo ) 是一个用于测试 TDengine 产品性能

## 安装

taosBenchmark 有两种安装方式:

- 安装 TDengine 官方安装包的同时会自动安装 taosBenchmark, 详情请参考[ TDengine 安装](../../operation/pkg-install)。

- 单独编译 taos-tools 并安装, 详情请参考 [taos-tools](https://github.com/taosdata/taos-tools) 仓库。
- 安装 TDengine 官方安装包的同时会自动安装 taosBenchmark

## 运行

Expand Down
24 changes: 6 additions & 18 deletions docs/zh/14-reference/07-tdinsight/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ TDengine 通过 [taosKeeper](../taosKeeper) 将服务器的 CPU、内存、硬

- 单节点的 TDengine 服务器或多节点的 [TDengine] 集群,以及一个[Grafana]服务器。此仪表盘需要 TDengine 3.0.0.0 及以上,并开启监控服务,具体配置请参考:[TDengine 监控配置](../config/#监控相关)。
- taosAdapter 已经安装并正常运行。具体细节请参考:[taosAdapter 使用手册](../taosadapter)
- taosKeeper 已安装并正常运行。具体细节请参考:[taosKeeper 使用手册](../taosKeeper)
- taosKeeper 已安装并正常运行。注意需要 taos.cfg 文件中打开 monitor 相关配置项,具体细节请参考:[taosKeeper 使用手册](../taosKeeper)

记录以下信息:

Expand Down Expand Up @@ -120,7 +120,7 @@ chmod +x TDinsight.sh
./TDinsight.sh
```

这个脚本会自动下载最新的[Grafana TDengine 数据源插件](https://github.com/taosdata/grafanaplugin/releases/latest) 和 [TDinsight 仪表盘](https://github.com/taosdata/grafanaplugin/blob/master/dashboards/TDinsightV3.json) ,将命令行选项中的可配置参数转为 [Grafana Provisioning](https://grafana.com/docs/grafana/latest/administration/provisioning/) 配置文件,以进行自动化部署及更新等操作。利用该脚本提供的告警设置选项,你还可以获得内置的阿里云短信告警通知支持。
这个脚本会自动下载最新的[Grafana TDengine 数据源插件](https://github.com/taosdata/grafanaplugin/releases/latest) 和 [TDinsight 仪表盘](https://github.com/taosdata/grafanaplugin/blob/master/dashboards/TDinsightV3.json) ,将命令行选项中的可配置参数转为 [Grafana Provisioning](https://grafana.com/docs/grafana/latest/administration/provisioning/) 配置文件,以进行自动化部署及更新等操作。

假设您在同一台主机上使用 TDengine 和 Grafana 的默认服务。运行 `./TDinsight.sh` 并打开 Grafana 浏览器窗口就可以看到 TDinsight 仪表盘了。

Expand Down Expand Up @@ -152,9 +152,6 @@ Install and configure TDinsight dashboard in Grafana on Ubuntu 18.04/20.04 syste
-i, --tdinsight-uid <string> Replace with a non-space ASCII code as the dashboard id. [default: tdinsight]
-t, --tdinsight-title <string> Dashboard title. [default: TDinsight]
-e, --tdinsight-editable If the provisioning dashboard could be editable. [default: false]

-E, --external-notifier <string> Apply external notifier uid to TDinsight dashboard.

```

大多数命令行选项都可以通过环境变量获得同样的效果。
Expand All @@ -172,26 +169,17 @@ Install and configure TDinsight dashboard in Grafana on Ubuntu 18.04/20.04 syste
| -i | --tdinsight-uid | TDINSIGHT_DASHBOARD_UID | TDinsight 仪表盘`uid`。 [默认值:tdinsight] |
| -t | --tdinsight-title | TDINSIGHT_DASHBOARD_TITLE | TDinsight 仪表盘标题。 [默认:TDinsight] |
| -e | --tdinsight-editable | TDINSIGHT_DASHBOARD_EDITABLE | 如果配置仪表盘可以编辑。 [默认值:false] |
| -E | --external-notifier | EXTERNAL_NOTIFIER | 将外部通知程序 uid 应用于 TDinsight 仪表盘。 |

:::note
新版本插件使用 Grafana unified alerting 功能,`-E` 选项不再支持。
:::

假设您在主机 `tdengine` 上启动 TDengine 数据库,HTTP API 端口为 `6041`,用户为 `root1`,密码为 `pass5ord`。执行脚本:

```bash
./TDinsight.sh -a http://tdengine:6041 -u root1 -p pass5ord
```

我们提供了一个“-E”选项,用于从命令行配置 TDinsight 使用现有的通知通道(Notification Channel)。假设你的 Grafana 用户和密码是 `admin:admin`,使用以下命令获取已有的通知通道的`uid`:

```bash
curl --no-progress-meter -u admin:admin http://localhost:3000/api/alert-notifications | jq
```

使用上面获取的 `uid` 值作为 `-E` 输入。

```bash
./TDinsight.sh -a http://tdengine:6041 -u root1 -p pass5ord -E existing-notifier
```

如果要监控多个 TDengine 集群,则需要设置多个 TDinsight 仪表盘。设置非默认 TDinsight 需要进行一些更改: `-n` `-i` `-t` 选项需要更改为非默认名称,如果使用 内置短信告警功能,`-N` 和 `-L` 也应该改变。

```bash
Expand Down
7 changes: 1 addition & 6 deletions docs/zh/14-reference/14-taosKeeper.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,7 @@ taosKeeper 是 TDengine 3.0 版本监控指标的导出工具,通过简单的

## 安装

taosKeeper 有两种安装方式:
taosKeeper 安装方式:

- 安装 TDengine 官方安装包的同时会自动安装 taosKeeper, 详情请参考[ TDengine 安装](../../operation/pkg-install)。

- 单独编译 taosKeeper 并安装,详情请参考 [taosKeeper](https://github.com/taosdata/taoskeeper) 仓库。
- 安装 TDengine 官方安装包的同时会自动安装 taosKeeper

## 配置和运行方式

Expand Down