Skip to content

Commit

Permalink
chore: separate export commands (#28)
Browse files Browse the repository at this point in the history
Signed-off-by: tison <[email protected]>
  • Loading branch information
tisonkun authored Jul 24, 2024
1 parent 7b01b79 commit 3eeb539
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 2 deletions.
11 changes: 10 additions & 1 deletion influxdb-v1-to-greptime/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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="<dbname>"
export GREPTIME_HOST="<host>"
```

```shell
export GREPTIME_DATABASE="<dbname>"
```

```shell
export GREPTIME_USERNAME="<username>"
```

```shell
export GREPTIME_PASSWORD="<password>"
```

Expand Down
11 changes: 10 additions & 1 deletion influxdb-v2-to-greptime/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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="<dbname>"
export GREPTIME_HOST="<host>"
```

```shell
export GREPTIME_DATABASE="<dbname>"
```

```shell
export GREPTIME_USERNAME="<username>"
```

```shell
export GREPTIME_PASSWORD="<password>"
```

Expand Down
13 changes: 13 additions & 0 deletions node-exporter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,17 @@ First of all, let's get a free GreptimeDB service:

```shell
export GREPTIME_HOST="<host>"
```

```shell
export GREPTIME_DATABASE="<dbname>"
```

```shell
export GREPTIME_USERNAME="<username>"
```

```shell
export GREPTIME_PASSWORD="<password>"
```

Expand Down Expand Up @@ -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 <<END > prometheus.yml
global:
Expand Down
9 changes: 9 additions & 0 deletions telegraf-ingestion/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,17 @@ GreptimeDB supports both InfluxDB V1 and V2 ingestion APIs. To simplify the conf

```shell
export GREPTIME_HOST="<host>"
```

```shell
export GREPTIME_DATABASE="<dbname>"
```

```shell
export GREPTIME_USERNAME="<username>"
```

```shell
export GREPTIME_PASSWORD="<password>"
```

Expand Down

0 comments on commit 3eeb539

Please sign in to comment.