From 21f8a0b5dbced2e156a18ddc0c41cb5879f25111 Mon Sep 17 00:00:00 2001 From: gccgdb1234 Date: Fri, 26 Aug 2022 14:29:32 +0800 Subject: [PATCH] doc: split prometheus into data in and data out --- docs/en/08-data-in/02-prometheus.md | 12 ---------- docs/en/09-data-out/05-prometheus.md | 36 ++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 12 deletions(-) create mode 100644 docs/en/09-data-out/05-prometheus.md diff --git a/docs/en/08-data-in/02-prometheus.md b/docs/en/08-data-in/02-prometheus.md index e4e670aae1..df6cbec065 100644 --- a/docs/en/08-data-in/02-prometheus.md +++ b/docs/en/08-data-in/02-prometheus.md @@ -62,15 +62,3 @@ Log in TDengine Cloud, click "Explorer" on the left navigation bar. You will see ![TDengine prometheus remote_write result](prometheus_data.webp) -## Verify Remote Read - -Lets retrieve some metrics from TDengine Cloud via prometheus web server. Browse to and use the "Graph" tab. - -Enter the following expression to graph the per-second rate of chunks being created in the self-scraped Prometheus: - -``` -rate(prometheus_tsdb_head_chunks_created_total[1m]) -``` - -![TDengine prometheus remote_read](prometheus_read.webp) - diff --git a/docs/en/09-data-out/05-prometheus.md b/docs/en/09-data-out/05-prometheus.md new file mode 100644 index 0000000000..9e80956b87 --- /dev/null +++ b/docs/en/09-data-out/05-prometheus.md @@ -0,0 +1,36 @@ +--- +sidebar_label: Prometheus +title: Prometheus for TDengine Cloud +description: Write data into TDengine from Prometheus. +--- + +Prometheus is a widespread open-source monitoring and alerting system. Prometheus joined the Cloud Native Computing Foundation (CNCF) in 2016 as the second incubated project after Kubernetes, which has a very active developer and user community. + +Prometheus provides `remote_write` and `remote_read` interfaces to leverage other database products as its storage engine. To enable users of the Prometheus ecosystem to take advantage of TDengine's efficient writing and querying, TDengine also provides support for these two interfaces. + +Prometheus data can be stored in TDengine via the `remote_write` interface with proper configuration. Data stored in TDengine can be queried via the `remote_read` interface, taking full advantage of TDengine's efficient storage query performance and clustering capabilities for time-series data. + +## Install Prometheus + +Please refer to [Install Prometheus](../../data-in/prometheus). + +## Configure + +Please refer to [Configure Prometheus](../../data-in/prometheus). + +## Start Prometheus + +Please refer to [Start Prometheus](../../data-in/prometheus). + +## Verify Remote Read + +Lets retrieve some metrics from TDengine Cloud via prometheus web server. Browse to and use the "Graph" tab. + +Enter the following expression to graph the per-second rate of chunks being created in the self-scraped Prometheus: + +``` +rate(prometheus_tsdb_head_chunks_created_total[1m]) +``` + +![TDengine prometheus remote_read](prometheus_read.webp) + -- GitLab