未验证 提交 c245b0d9 编写于 作者: sangshuduo's avatar sangshuduo 提交者: GitHub

docs: translate prometheus section (#12507)

* docs: 3rd parties doc in English

[TD-15558]

* fix link to broder

* docs: third parties doc in English

[TD-15558]

* docs: 3rd parties doc in English

translate reference doc

* fix img link

* fix img links

* fix build issues

* translate prometheus section
上级 058529d4
配置 Prometheus 是通过编辑 Prometheus 配置文件 prometheus.yml (默认位置 /etc/prometheus/prometheus.yml)完成的。
Configuring Prometheus is done by editing the Prometheus configuration file prometheus.yml (default location /etc/prometheus/prometheus.yml).
### 配置第三方数据库地址
### Configuring third-party database addresses
将其中的 `remote_read url` 和 `remote_write url` 指向运行 taosAdapter 服务的服务器域名或 IP 地址,REST 服务端口(taosAdapter 默认使用 6041),以及希望写入 TDengine 的数据库名称,并确保相应的 URL 形式如下:
Point the `remote_read url` and `remote_write url` to the domain name or IP address of the server running the taosAdapter service, the REST service port (taosAdapter uses 6041 by default), and the name of the database you want to write to TDengine, and ensure that the corresponding URL form as follows.
- remote_read url : `http://<taosAdapter's host>:<REST service port>/prometheus/v1/remote_read/<database name>`
- remote_write url : `http://<taosAdapter's host>:<REST service port>/prometheus/v1/remote_write/<database name>`
### 配置 Basic 验证
### Configure Basic authentication
- username <TDengine's username>
- password <TDengine's password>
- username: <TDengine's username>
- password: <TDengine's password>
### prometheus.yml 文件中 remote_write 和 remote_read 相关部分配置示例
### Example configuration of remote_write and remote_read related sections in prometheus.yml file
```yaml
remote_write:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册