Skip to content

Commit afecb94

Browse files
authored
update README (#51)
1 parent 59305a3 commit afecb94

14 files changed

+34
-28
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PROJECT="nebula-exporter"
22

33
GO ?= go
4-
VERSION ?= v3.1.0
4+
VERSION ?= v3.3.0
55
DockerUser=vesoft
66

77
ifeq (,$(shell go env GOBIN))

README-CN.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
- Metad 的 metrics
1616
- Storaged 的 metrics
1717
- Stroaged 内置 rocksdb 的 metrics
18+
- Metad Listener 的 metrics
19+
- Storaged Listener 的 metrics
20+
- Draienrd 的 metrics
1821

1922
## 构建运行 exporter
2023

@@ -71,12 +74,12 @@ scrape_configs:
7174
```shell
7275
$ docker run -d --restart=always --name nebula-stats-exporter -p 9100:9100 \
7376
-v "<<PATH_OF_CONFIG_FILE>>:/config.yaml" \
74-
vesoft/nebula-stats-exporter:v3.1.0 --bare-metal --bare-metal-config=/config.yaml
77+
vesoft/nebula-stats-exporter:v3.3.0 --bare-metal --bare-metal-config=/config.yaml
7578

7679
# 例如:
7780
$ docker run -d --restart=always --name nebula-stats-exporter -p 9100:9100 \
7881
-v "$(pwd)/deploy/bare-metal/config.yaml:/config.yaml" \
79-
vesoft/nebula-stats-exporter:v3.1.0 --bare-metal --bare-metal-config=/config.yaml
82+
vesoft/nebula-stats-exporter:v3.3.0 --bare-metal --bare-metal-config=/config.yaml
8083
```
8184
8285
## 在裸机上运行

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ The metrics currently collected are:
1515
- Metad's metrics
1616
- Storaged's metrics
1717
- Storaged's rocksdb metrics
18+
- Metad Listener's metrics
19+
- Storaged Listener's metrics
20+
- Draienrd's metrics
1821

1922
## Building and running the exporter
2023

@@ -71,12 +74,12 @@ And adjust the host name `NEBULA_STATS_EXPORTER_HOSTNAME` accordingly.
7174
```shell
7275
$ docker run -d --restart=always --name nebula-stats-exporter -p 9100:9100 \
7376
-v "<<PATH_OF_CONFIG_FILE>>:/config.yaml" \
74-
vesoft/nebula-stats-exporter:v3.1.0 --bare-metal --bare-metal-config=/config.yaml
77+
vesoft/nebula-stats-exporter:v3.3.0 --bare-metal --bare-metal-config=/config.yaml
7578

7679
# For example:
7780
$ docker run -d --restart=always --name nebula-stats-exporter -p 9100:9100 \
7881
-v "$(pwd)/deploy/bare-metal/config.yaml:/config.yaml" \
79-
vesoft/nebula-stats-exporter:v3.1.0 --bare-metal --bare-metal-config=/config.yaml
82+
vesoft/nebula-stats-exporter:v3.3.0 --bare-metal --bare-metal-config=/config.yaml
8083
```
8184
8285
## Run on Bare Metal

charts/index.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ apiVersion: v1
22
entries:
33
nebula-exporter:
44
- apiVersion: v1
5-
appVersion: v3.1.0
6-
created: "2022-06-15T10:33:29.163134+08:00"
5+
appVersion: v3.3.0
6+
created: "2022-10-31T14:58:36.280027+08:00"
77
description: Nebula Graph stats exporter for prometheus
8-
digest: 33acc20133ed85eb88ee7bcd0dc35d6079af589b693e1ba9030d5f298130e1af
8+
digest: ea80a9ad538c244804df4c6049d5daf4caf5eb71dc5073ad74b465dbb01349e5
99
home: https://nebula-graph.io
1010
icon: https://nebula-website-cn.oss-cn-hangzhou.aliyuncs.com/nebula-website/images/nebulagraph-logo.png
1111
keywords:
@@ -28,6 +28,6 @@ entries:
2828
sources:
2929
- https://github.com/vesoft-inc/nebula
3030
urls:
31-
- https://vesoft-inc.github.io/nebula-stats-exporter/charts/nebula-exporter-3.1.0.tgz
32-
version: 3.1.0
33-
generated: "2022-06-15T10:33:29.162252+08:00"
31+
- https://vesoft-inc.github.io/nebula-stats-exporter/charts/nebula-exporter-3.3.0.tgz
32+
version: 3.3.0
33+
generated: "2022-10-31T14:58:36.277984+08:00"

charts/nebula-exporter-3.1.0.tgz

-4.07 KB
Binary file not shown.

charts/nebula-exporter-3.3.0.tgz

4.07 KB
Binary file not shown.

charts/nebula-exporter/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v1
2-
appVersion: v3.1.0
2+
appVersion: v3.3.0
33
description: Nebula Graph stats exporter for prometheus
44
home: https://nebula-graph.io
55
icon: https://nebula-website-cn.oss-cn-hangzhou.aliyuncs.com/nebula-website/images/nebulagraph-logo.png
@@ -22,4 +22,4 @@ maintainers:
2222
name: nebula-exporter
2323
sources:
2424
- https://github.com/vesoft-inc/nebula
25-
version: 3.1.0
25+
version: 3.3.0

charts/nebula-exporter/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ startUp:
2222

2323
image:
2424
repository: vesoft/nebula-stats-exporter
25-
tag: v3.1.0
25+
tag: v3.3.0
2626
pullPolicy: Always
2727

2828
serviceAccount:

deploy/bare-metal/example-CN.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
```shell
66
$ docker run -d --restart=always --name nebula-stats-exporter -p 9100:9100 \
77
-v "<<PATH_OF_CONFIG_FILE>>:/config.yaml" \
8-
vesoft/nebula-stats-exporter:v3.1.0 --bare-metal --bare-metal-config=/config.yaml
8+
vesoft/nebula-stats-exporter:v3.3.0 --bare-metal --bare-metal-config=/config.yaml
99

1010
# 例如:
1111
$ docker run -d --restart=always --name nebula-stats-exporter -p 9100:9100 \
1212
-v "$(pwd)/deploy/bare-metal/config.yaml:/config.yaml" \
13-
vesoft/nebula-stats-exporter:v3.1.0 --bare-metal --bare-metal-config=/config.yaml
13+
vesoft/nebula-stats-exporter:v3.3.0 --bare-metal --bare-metal-config=/config.yaml
1414
```
1515

1616
## 安装 prometheus

deploy/bare-metal/example.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
```shell
66
$ docker run -d --restart=always --name nebula-stats-exporter -p 9100:9100 \
77
-v "<<PATH_OF_CONFIG_FILE>>:/config.yaml" \
8-
vesoft/nebula-stats-exporter:v3.1.0 --bare-metal --bare-metal-config=/config.yaml
8+
vesoft/nebula-stats-exporter:v3.3.0 --bare-metal --bare-metal-config=/config.yaml
99

1010
# For example:
1111
$ docker run -d --restart=always --name nebula-stats-exporter -p 9100:9100 \
1212
-v "$(pwd)/deploy/bare-metal/config.yaml:/config.yaml" \
13-
vesoft/nebula-stats-exporter:v3.1.0 --bare-metal --bare-metal-config=/config.yaml
13+
vesoft/nebula-stats-exporter:v3.3.0 --bare-metal --bare-metal-config=/config.yaml
1414
```
1515

1616
## Install prometheus

deploy/kubernetes/README-CN.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ _访问 [helm repo](https://helm.sh/docs/helm/helm_repo/) 来查看命令文档
2020

2121
```shell
2222
export NEBULA_EXPORTER_NAMESPACE=nebula # 您想要安装 nebula exporter 的 namespace
23-
export CHART_VERSION=v3.1.0 # Nebula Exporter 的 chart 版本
23+
export CHART_VERSION=v3.3.0 # Nebula Exporter 的 chart 版本
2424

2525
$ kubectl create namespace "${NEBULA_EXPORTER_NAMESPACE}" # 如果您已经创建了,请跳过
2626
$ helm install nebula-exporter nebula-exporter/nebula-exporter \
@@ -35,7 +35,7 @@ nebula-exporter-5964b765c9-4xfkm 1/1 Running 0 44s
3535

3636
注意:
3737

38-
* `${chart_version}` 表示 Nebula Exporter chart 的版本。 例如,v3.1.0 。 您可以通过运行 `helm search repo -l nebula-exporter` 命令来查看当前支持的版本。
38+
* `${chart_version}` 表示 Nebula Exporter chart 的版本。 例如,v3.3.0 。 您可以通过运行 `helm search repo -l nebula-exporter` 命令来查看当前支持的版本。
3939

4040
_访问 [helm install](https://helm.sh/docs/helm/helm_install/) 来查看命令文档。_
4141

@@ -85,7 +85,7 @@ $ helm show values nebula-exporter/nebula-exporter
8585
| `startUp.listenPort` | Nebula metrics 服务监听端口 | `9100` |
8686
| `startUp.maxRequests` | 最大并行抓取请求数,使用 0 则不限制 | `40` |
8787
| `image.repository` | Nebula stats exporter image repository | `vesoft/nebula-stats-exporter` |
88-
| `image.tag` | Nebula stats exporter image tag | `v3.1.0` |
88+
| `image.tag` | Nebula stats exporter image tag | `v3.3.0` |
8989
| `image.pullPolicy` | Nebula stats exporter imagePullPolicy | `IfNotPresent` |
9090
| `serviceAccount.create` | 指定是否应创建 service account | `true` |
9191
| `serviceAccount.annotations` | 添加到 service account 的 annotations | `{}` |

deploy/kubernetes/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ _See [helm repo](https://helm.sh/docs/helm/helm_repo/) for command documentation
2020

2121
```shell
2222
export NEBULA_EXPORTER_NAMESPACE=nebula # the namespace you want to install the nebula exporter
23-
export CHART_VERSION=v3.1.0 # the chart version of Nebula Exporter
23+
export CHART_VERSION=v3.3.0 # the chart version of Nebula Exporter
2424

2525
$ kubectl create namespace "${NEBULA_EXPORTER_NAMESPACE}" # If you have already created it, please skip.
2626
$ helm install nebula-exporter nebula-exporter/nebula-exporter \
@@ -35,7 +35,7 @@ nebula-exporter-5964b765c9-4xfkm 1/1 Running 0 44s
3535

3636
Notes:
3737

38-
* `${chart_version}` represents the chart version of Nebula Exporter. For example, v3.1.0. You can view the currently supported versions by running the `helm search repo -l nebula-exporter` command.
38+
* `${chart_version}` represents the chart version of Nebula Exporter. For example, v3.3.0. You can view the currently supported versions by running the `helm search repo -l nebula-exporter` command.
3939

4040
_See [helm install](https://helm.sh/docs/helm/helm_install/) for command documentation._
4141

@@ -85,7 +85,7 @@ The following table lists is the configurable parameters of the chart and their
8585
| `startUp.listenPort` | The nebula metrics server listening port | `9100` |
8686
| `startUp.maxRequests` | Maximum number of parallel scrape requests, use 0 for no limit | `40` |
8787
| `image.repository` | Nebula stats exporter image repository | `vesoft/nebula-stats-exporter` |
88-
| `image.tag` | Nebula stats exporter image tag | `v3.1.0` |
88+
| `image.tag` | Nebula stats exporter image tag | `v3.3.0` |
8989
| `image.pullPolicy` | Nebula stats exporter imagePullPolicy | `IfNotPresent` |
9090
| `serviceAccount.create` | Specifies whether a service account should be created | `true` |
9191
| `serviceAccount.annotations` | Annotations to add to the service account | `{}` |

deploy/kubernetes/example-CN.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ _详情请见 [Install Nebula Cluster with helm](https://github.com/vesoft-inc/n
5959

6060
```shell
6161
$ helm install nebula-exporter nebula-exporter --repo https://vesoft-inc.github.io/nebula-stats-exporter/charts \
62-
--namespace=example1 --version=v3.1.0 \
62+
--namespace=example1 --version=v3.3.0 \
6363
--set serviceMonitor.enabled=true \
6464
--set serviceMonitor.prometheusServiceMatchLabels.release=prometheus
6565

6666
$ helm install nebula-exporter nebula-exporter --repo https://vesoft-inc.github.io/nebula-stats-exporter/charts \
67-
--namespace=example2 --version=v3.1.0 \
67+
--namespace=example2 --version=v3.3.0 \
6868
--set serviceMonitor.enabled=true \
6969
--set serviceMonitor.prometheusServiceMatchLabels.release=prometheus
7070
```

deploy/kubernetes/example.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ _See [Install Nebula Cluster with helm](https://github.com/vesoft-inc/nebula-ope
5959

6060
```shell
6161
$ helm install nebula-exporter nebula-exporter --repo https://vesoft-inc.github.io/nebula-stats-exporter/charts \
62-
--namespace=example1 --version=v3.1.0 \
62+
--namespace=example1 --version=v3.3.0 \
6363
--set serviceMonitor.enabled=true \
6464
--set serviceMonitor.prometheusServiceMatchLabels.release=prometheus
6565

6666
$ helm install nebula-exporter nebula-exporter --repo https://vesoft-inc.github.io/nebula-stats-exporter/charts \
67-
--namespace=example2 --version=v3.1.0 \
67+
--namespace=example2 --version=v3.3.0 \
6868
--set serviceMonitor.enabled=true \
6969
--set serviceMonitor.prometheusServiceMatchLabels.release=prometheus
7070
```

0 commit comments

Comments
 (0)