diff --git a/docs/en/08-third-party/03-telegraf.md b/docs/en/08-third-party/03-telegraf.md index ff999272116e8356ff4aa560acdeba83a77bcf1e..77f090682508e398ce871dd1e0caf8d93f125f12 100644 --- a/docs/en/08-third-party/03-telegraf.md +++ b/docs/en/08-third-party/03-telegraf.md @@ -3,7 +3,7 @@ sidebar_label: Telegraf title: Telegraf for TDengine Cloud --- -Telegraf is a open-source, metrics collection software. Telegraf can collect the operation information of various components without having to write any scripts to collect regularly, reducing the difficulty of data acquisition. +Telegraf is an open-source, metrics collection software. Telegraf can collect the operation information of various components without having to write any scripts to collect regularly, reducing the difficulty of data acquisition. Telegraf's data can be written to TDengine by simply adding the output configuration of Telegraf to the URL corresponding to taosAdapter and modifying several configuration items. The presence of Telegraf data in TDengine can take advantage of TDengine's efficient storage query performance and clustering capabilities for time-series data. @@ -29,11 +29,16 @@ For installation instructions on other platforms please refer to the [official d Run this command in your terminal to save TDengine cloud token and URL as variables: ```bash -export TDENGINE_CLOUD_TOKEN="" export TDENGINE_CLOUD_URL="" +export TDENGINE_CLOUD_TOKEN="" ``` -Run this command to generate new telegraf.conf. + +You are expected to replace `` and `` with real TDengine cloud URL and token. To obtain the real values, please log in [TDengine Cloud](https://cloud.tdengine.com). + + + +Then run this command to generate new telegraf.conf. ```bash {{#include docs/examples/thirdparty/gen-telegraf-conf.sh:null:nrc}} @@ -47,12 +52,6 @@ Edit section "outputs.http". The resulting configuration will collect CPU and memory data and sends it to TDengine database named "telegraf". Database "telegraf" will be created automatically if it dose not exist in advance. - - -You are expected to replace `` and `` with real TDengine cloud URL and token. To obtain the real values, please log in [TDengine Cloud](https://cloud.tdengine.com). - - - ## Start Telegraf Start telegraf using new generated telegraf.conf file.