diff --git a/influxdb-v1-to-greptime/README.md b/influxdb-v1-to-greptime/README.md index 9251d0c..3da49de 100644 --- a/influxdb-v1-to-greptime/README.md +++ b/influxdb-v1-to-greptime/README.md @@ -11,9 +11,18 @@ You need to be able to access your InfluxDB engine path, which contains your dat 3. Export the necessary environment variables: ```shell -export GREPTIME_DB="" export GREPTIME_HOST="" +``` + +```shell +export GREPTIME_DATABASE="" +``` + +```shell export GREPTIME_USERNAME="" +``` + +```shell export GREPTIME_PASSWORD="" ``` diff --git a/influxdb-v2-to-greptime/README.md b/influxdb-v2-to-greptime/README.md index 0acb909..5f54976 100644 --- a/influxdb-v2-to-greptime/README.md +++ b/influxdb-v2-to-greptime/README.md @@ -15,9 +15,18 @@ You need to be able to access your InfluxDB engine path, which contains your dat 3. Export the necessary environment variables: ```shell -export GREPTIME_DB="" export GREPTIME_HOST="" +``` + +```shell +export GREPTIME_DATABASE="" +``` + +```shell export GREPTIME_USERNAME="" +``` + +```shell export GREPTIME_PASSWORD="" ``` diff --git a/node-exporter/README.md b/node-exporter/README.md index 65f7f60..6d5a25a 100644 --- a/node-exporter/README.md +++ b/node-exporter/README.md @@ -18,8 +18,17 @@ First of all, let's get a free GreptimeDB service: ```shell export GREPTIME_HOST="" +``` + +```shell export GREPTIME_DATABASE="" +``` + +```shell export GREPTIME_USERNAME="" +``` + +```shell export GREPTIME_PASSWORD="" ``` @@ -86,6 +95,10 @@ cd prometheus-2.53.1.darwin-arm64 Modify the `prometheus.yml` file with: +> [!TIP] +> +> If you switch to a new session, you need to re-export the environment variables as in [Step 1](#step-1-set-up-greptimedb-service). + ```bash cat < prometheus.yml global: diff --git a/telegraf-ingestion/README.md b/telegraf-ingestion/README.md index f85fa25..56b722d 100644 --- a/telegraf-ingestion/README.md +++ b/telegraf-ingestion/README.md @@ -14,8 +14,17 @@ GreptimeDB supports both InfluxDB V1 and V2 ingestion APIs. To simplify the conf ```shell export GREPTIME_HOST="" +``` + +```shell export GREPTIME_DATABASE="" +``` + +```shell export GREPTIME_USERNAME="" +``` + +```shell export GREPTIME_PASSWORD="" ```