diff --git a/docs/v0.7/en/getting-started/installation/greptimedb-standalone.md b/docs/v0.7/en/getting-started/installation/greptimedb-standalone.md index 8e318dd4b..d9c008ef7 100644 --- a/docs/v0.7/en/getting-started/installation/greptimedb-standalone.md +++ b/docs/v0.7/en/getting-started/installation/greptimedb-standalone.md @@ -43,12 +43,11 @@ Make sure the [Docker](https://www.docker.com/) is already installed. If not, yo docker run -p 4000-4003:4000-4003 \ -p 4242:4242 -v "$(pwd)/greptimedb:/tmp/greptimedb" \ --name greptime --rm \ -greptime/greptimedb standalone start \ +greptime/greptimedb:<%greptimedb-version%> standalone start \ --http-addr 0.0.0.0:4000 \ --rpc-addr 0.0.0.0:4001 \ --mysql-addr 0.0.0.0:4002 \ ---postgres-addr 0.0.0.0:4003 \ ---opentsdb-addr 0.0.0.0:4242 +--postgres-addr 0.0.0.0:4003 ``` The data will be stored in the `greptimedb/` directory in your current directory. @@ -66,12 +65,11 @@ You can: docker run --security-opt seccomp=unconfined -p 4000-4003:4000-4003 \ -p 4242:4242 -v "$(pwd)/greptimedb:/tmp/greptimedb" \ --name greptime --rm \ - greptime/greptimedb standalone start \ + greptime/greptimedb:<%greptimedb-version%> standalone start \ --http-addr 0.0.0.0:4000 \ --rpc-addr 0.0.0.0:4001 \ --mysql-addr 0.0.0.0:4002 \ - --postgres-addr 0.0.0.0:4003 \ - --opentsdb-addr 0.0.0.0:4242 + --postgres-addr 0.0.0.0:4003 ``` 2. Upgrade the Docker version to v23.0.0 or higher; diff --git a/docs/v0.7/en/getting-started/quick-start/prerequisites.md b/docs/v0.7/en/getting-started/quick-start/prerequisites.md index 5df8e49c0..46ae69d13 100644 --- a/docs/v0.7/en/getting-started/quick-start/prerequisites.md +++ b/docs/v0.7/en/getting-started/quick-start/prerequisites.md @@ -15,15 +15,14 @@ services: - 3000:3000 greptime: - image: greptime/greptimedb:latest + image: greptime/greptimedb:<%greptimedb-version%> container_name: greptimedb ports: - 4000:4000 - 4001:4001 - 4002:4002 - 4003:4003 - - 4242:4242 - command: "standalone start --http-addr 0.0.0.0:4000 --rpc-addr 0.0.0.0:4001 --mysql-addr 0.0.0.0:4002 --postgres-addr 0.0.0.0:4003 --opentsdb-addr 0.0.0.0:4242" + command: "standalone start --http-addr 0.0.0.0:4000 --rpc-addr 0.0.0.0:4001 --mysql-addr 0.0.0.0:4002 --postgres-addr 0.0.0.0:4003" volumes: - ./greptimedb:/tmp/greptimedb diff --git a/docs/v0.7/en/getting-started/quick-start/prometheus.md b/docs/v0.7/en/getting-started/quick-start/prometheus.md index c6c59cf94..9311f4d0b 100644 --- a/docs/v0.7/en/getting-started/quick-start/prometheus.md +++ b/docs/v0.7/en/getting-started/quick-start/prometheus.md @@ -40,20 +40,19 @@ services: - 3000:3000 greptime: - image: greptime/greptimedb:latest + image: greptime/greptimedb:<%greptimedb-version%> container_name: greptimedb ports: - 4000:4000 - 4001:4001 - 4002:4002 - 4003:4003 - - 4242:4242 - command: "standalone start --http-addr 0.0.0.0:4000 --rpc-addr 0.0.0.0:4001 --mysql-addr 0.0.0.0:4002 --postgres-addr 0.0.0.0:4003 --opentsdb-addr 0.0.0.0:4242" + command: "standalone start --http-addr 0.0.0.0:4000 --rpc-addr 0.0.0.0:4001 --mysql-addr 0.0.0.0:4002 --postgres-addr 0.0.0.0:4003" volumes: - ./greptimedb:/tmp/greptimedb prometheus: - image: prom/prometheus:latest + image: prom/prometheus:<%prometheus-version%> container_name: prometheus depends_on: - node_exporter @@ -63,7 +62,7 @@ services: - ./prometheus.yml:/etc/prometheus/prometheus.yml:ro node_exporter: - image: quay.io/prometheus/node-exporter:latest + image: quay.io/prometheus/node-exporter:<%node-exporter-version%> container_name: node_exporter_local ports: - 9100:9100 diff --git a/docs/v0.7/en/getting-started/quick-start/vector.md b/docs/v0.7/en/getting-started/quick-start/vector.md index ffb4931d2..caf77864d 100644 --- a/docs/v0.7/en/getting-started/quick-start/vector.md +++ b/docs/v0.7/en/getting-started/quick-start/vector.md @@ -36,20 +36,19 @@ services: - 3000:3000 greptime: - image: greptime/greptimedb:latest + image: greptime/greptimedb:<%greptimedb-version%> container_name: greptimedb ports: - 4000:4000 - 4001:4001 - 4002:4002 - 4003:4003 - - 4242:4242 - command: "standalone start --http-addr 0.0.0.0:4000 --rpc-addr 0.0.0.0:4001 --mysql-addr 0.0.0.0:4002 --postgres-addr 0.0.0.0:4003 --opentsdb-addr 0.0.0.0:4242" + command: "standalone start --http-addr 0.0.0.0:4000 --rpc-addr 0.0.0.0:4001 --mysql-addr 0.0.0.0:4002 --postgres-addr 0.0.0.0:4003" volumes: - ./greptimedb:/tmp/greptimedb vector: - image: timberio/vector:0.33.0-debian + image: timberio/vector:<%vector-version%> container_name: vector ports: - 8686:8686 diff --git a/docs/v0.7/en/user-guide/client-libraries/go.md b/docs/v0.7/en/user-guide/client-libraries/go.md index f759964cc..335046586 100644 --- a/docs/v0.7/en/user-guide/client-libraries/go.md +++ b/docs/v0.7/en/user-guide/client-libraries/go.md @@ -18,7 +18,7 @@ concurrent-safe library that is easy to use with the metric struct. Use the following command to install the GreptimeDB client library for Go: ```shell -go get -u github.com/GreptimeTeam/greptimedb-ingester-go +go get -u github.com/GreptimeTeam/greptimedb-ingester-go@<%go-sdk-version%> ``` Import the library in your code: diff --git a/docs/v0.7/en/user-guide/client-libraries/java.md b/docs/v0.7/en/user-guide/client-libraries/java.md index ecb023b3b..644a1a63e 100644 --- a/docs/v0.7/en/user-guide/client-libraries/java.md +++ b/docs/v0.7/en/user-guide/client-libraries/java.md @@ -32,7 +32,7 @@ dependencies list: io.greptime ingester-all - ${latest_version} + <%java-sdk-version%> ``` diff --git a/docs/v0.7/variates.yml b/docs/v0.7/variates.yml index 294f755ed..57f79ad7b 100644 --- a/docs/v0.7/variates.yml +++ b/docs/v0.7/variates.yml @@ -1 +1,7 @@ grafana-version: 9.5.15 +greptimedb-version: v0.7.2 +vector-version: 0.33.0-debian +prometheus-version: v2.52.0 +node-exporter-version: v1.8.0 +go-sdk-version: v0.5.0 +java-sdk-version: 0.7.3 diff --git a/docs/v0.7/zh/getting-started/installation/greptimedb-standalone.md b/docs/v0.7/zh/getting-started/installation/greptimedb-standalone.md index f215c322c..edc60b7d9 100644 --- a/docs/v0.7/zh/getting-started/installation/greptimedb-standalone.md +++ b/docs/v0.7/zh/getting-started/installation/greptimedb-standalone.md @@ -45,12 +45,11 @@ curl -fsSL \ docker run -p 4000-4003:4000-4003 \ -p 4242:4242 -v "$(pwd)/greptimedb:/tmp/greptimedb" \ --name greptime --rm \ -greptime/greptimedb standalone start \ +greptime/greptimedb:<%greptimedb-version%> standalone start \ --http-addr 0.0.0.0:4000 \ --rpc-addr 0.0.0.0:4001 \ --mysql-addr 0.0.0.0:4002 \ ---postgres-addr 0.0.0.0:4003 \ ---opentsdb-addr 0.0.0.0:4242 +--postgres-addr 0.0.0.0:4003 ``` 数据将会存储在当前目录下的 `greptimedb/` 目录中。 @@ -69,12 +68,11 @@ greptime/greptimedb standalone start \ docker run --security-opt seccomp=unconfined -p 4000-4003:4000-4003 \ -p 4242:4242 -v "$(pwd)/greptimedb:/tmp/greptimedb" \ --name greptime --rm \ - greptime/greptimedb standalone start \ + greptime/greptimedb:<%greptimedb-version%> standalone start \ --http-addr 0.0.0.0:4000 \ --rpc-addr 0.0.0.0:4001 \ --mysql-addr 0.0.0.0:4002 \ - --postgres-addr 0.0.0.0:4003 \ - --opentsdb-addr 0.0.0.0:4242 + --postgres-addr 0.0.0.0:4003 ``` 2. 将 Docker 版本升级到 v23.0.0 或更高; diff --git a/docs/v0.7/zh/getting-started/quick-start/prerequisites.md b/docs/v0.7/zh/getting-started/quick-start/prerequisites.md index 188e103bd..d5dfa7b54 100644 --- a/docs/v0.7/zh/getting-started/quick-start/prerequisites.md +++ b/docs/v0.7/zh/getting-started/quick-start/prerequisites.md @@ -9,21 +9,20 @@ ```yaml services: grafana: - image: grafana/grafana-oss:9.5.15 + image: grafana/grafana-oss:<%grafana-version%> container_name: grafana ports: - 3000:3000 greptime: - image: greptime/greptimedb:latest + image: greptime/greptimedb:<%greptimedb-version%> container_name: greptimedb ports: - 4000:4000 - 4001:4001 - 4002:4002 - 4003:4003 - - 4242:4242 - command: "standalone start --http-addr 0.0.0.0:4000 --rpc-addr 0.0.0.0:4001 --mysql-addr 0.0.0.0:4002 --postgres-addr 0.0.0.0:4003 --opentsdb-addr 0.0.0.0:4242" + command: "standalone start --http-addr 0.0.0.0:4000 --rpc-addr 0.0.0.0:4001 --mysql-addr 0.0.0.0:4002 --postgres-addr 0.0.0.0:4003" volumes: - ./greptimedb:/tmp/greptimedb diff --git a/docs/v0.7/zh/getting-started/quick-start/prometheus.md b/docs/v0.7/zh/getting-started/quick-start/prometheus.md index f950b7e53..257d22dfb 100644 --- a/docs/v0.7/zh/getting-started/quick-start/prometheus.md +++ b/docs/v0.7/zh/getting-started/quick-start/prometheus.md @@ -34,26 +34,25 @@ remote_write: ```yaml services: grafana: - image: grafana/grafana-oss:9.5.15 + image: grafana/grafana-oss:<%grafana-version%> container_name: grafana ports: - 3000:3000 greptime: - image: greptime/greptimedb:latest + image: greptime/greptimedb:<%greptimedb-version%> container_name: greptimedb ports: - 4000:4000 - 4001:4001 - 4002:4002 - 4003:4003 - - 4242:4242 - command: "standalone start --http-addr 0.0.0.0:4000 --rpc-addr 0.0.0.0:4001 --mysql-addr 0.0.0.0:4002 --postgres-addr 0.0.0.0:4003 --opentsdb-addr 0.0.0.0:4242" + command: "standalone start --http-addr 0.0.0.0:4000 --rpc-addr 0.0.0.0:4001 --mysql-addr 0.0.0.0:4002 --postgres-addr 0.0.0.0:4003" volumes: - ./greptimedb:/tmp/greptimedb prometheus: - image: prom/prometheus:latest + image: prom/prometheus:<%prometheus-version%> container_name: prometheus depends_on: - node_exporter @@ -63,7 +62,7 @@ services: - ./prometheus.yml:/etc/prometheus/prometheus.yml:ro node_exporter: - image: quay.io/prometheus/node-exporter:latest + image: quay.io/prometheus/node-exporter:<%node-exporter-version%> container_name: node_exporter_local ports: - 9100:9100 diff --git a/docs/v0.7/zh/getting-started/quick-start/vector.md b/docs/v0.7/zh/getting-started/quick-start/vector.md index 87cccd487..7d63c43fe 100644 --- a/docs/v0.7/zh/getting-started/quick-start/vector.md +++ b/docs/v0.7/zh/getting-started/quick-start/vector.md @@ -29,26 +29,25 @@ dbname = "public" ```yaml services: grafana: - image: grafana/grafana-oss:9.5.15 + image: grafana/grafana-oss:<%grafana-version%> container_name: grafana ports: - 3000:3000 greptime: - image: greptime/greptimedb:latest + image: greptime/greptimedb:<%greptimedb-version%> container_name: greptimedb ports: - 4000:4000 - 4001:4001 - 4002:4002 - 4003:4003 - - 4242:4242 - command: "standalone start --http-addr 0.0.0.0:4000 --rpc-addr 0.0.0.0:4001 --mysql-addr 0.0.0.0:4002 --postgres-addr 0.0.0.0:4003 --opentsdb-addr 0.0.0.0:4242" + command: "standalone start --http-addr 0.0.0.0:4000 --rpc-addr 0.0.0.0:4001 --mysql-addr 0.0.0.0:4002 --postgres-addr 0.0.0.0:4003" volumes: - ./greptimedb:/tmp/greptimedb vector: - image: timberio/vector:0.33.0-debian + image: timberio/vector:<%vector-version%> container_name: vector ports: - 8686:8686 diff --git a/docs/v0.7/zh/user-guide/client-libraries/go.md b/docs/v0.7/zh/user-guide/client-libraries/go.md index 0d5b9e263..39288d185 100644 --- a/docs/v0.7/zh/user-guide/client-libraries/go.md +++ b/docs/v0.7/zh/user-guide/client-libraries/go.md @@ -17,7 +17,7 @@ GreptimeDB 提供的 Go Ingest SDK 是一个轻量级、并发安全的库,使 使用下方的命令安装 Go Ingest SDK: ```shell -go get -u github.com/GreptimeTeam/greptimedb-ingester-go +go get -u github.com/GreptimeTeam/greptimedb-ingester-go@<%go-sdk-version%> ``` 引入到代码中: diff --git a/docs/v0.7/zh/user-guide/client-libraries/java.md b/docs/v0.7/zh/user-guide/client-libraries/java.md index 08aa5715d..a52837b4b 100644 --- a/docs/v0.7/zh/user-guide/client-libraries/java.md +++ b/docs/v0.7/zh/user-guide/client-libraries/java.md @@ -30,7 +30,7 @@ GreptimeDB 提供的 Java ingester SDK 是一个轻量级库,具有以下特 io.greptime ingester-all - ${latest_version} + <%java-sdk-version%> ```