Skip to content

Commit 99be9cf

Browse files
authored
update image tag (#32)
1 parent 003bb50 commit 99be9cf

13 files changed

+22
-22
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 ?= v0.0.4
4+
VERSION ?= v0.0.5
55
DockerUser=vesoft
66

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

README-CN.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ scrape_configs:
7676
```shell
7777
$ docker run -d --restart=always --name nebula-stats-exporter -p 9100:9100 \
7878
-v "<<PATH_OF_CONFIG_FILE>>:/config.yaml" \
79-
vesoft/nebula-stats-exporter:v0.0.4 --bare-metal --bare-metal-config=/config.yaml
79+
vesoft/nebula-stats-exporter:v0.0.5 --bare-metal --bare-metal-config=/config.yaml
8080

8181
# 例如:
8282
$ docker run -d --restart=always --name nebula-stats-exporter -p 9100:9100 \
8383
-v "$(pwd)/deploy/bare-metal/config.yaml:/config.yaml" \
84-
vesoft/nebula-stats-exporter:v0.0.4 --bare-metal --bare-metal-config=/config.yaml
84+
vesoft/nebula-stats-exporter:v0.0.5 --bare-metal --bare-metal-config=/config.yaml
8585
```
8686
8787
## 在裸机上运行

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ And adjust the host name `NEBULA_STATS_EXPORTER_HOSTNAME` accordingly.
7676
```shell
7777
$ docker run -d --restart=always --name nebula-stats-exporter -p 9100:9100 \
7878
-v "<<PATH_OF_CONFIG_FILE>>:/config.yaml" \
79-
vesoft/nebula-stats-exporter:v0.0.4 --bare-metal --bare-metal-config=/config.yaml
79+
vesoft/nebula-stats-exporter:v0.0.5 --bare-metal --bare-metal-config=/config.yaml
8080

8181
# For example:
8282
$ docker run -d --restart=always --name nebula-stats-exporter -p 9100:9100 \
8383
-v "$(pwd)/deploy/bare-metal/config.yaml:/config.yaml" \
84-
vesoft/nebula-stats-exporter:v0.0.4 --bare-metal --bare-metal-config=/config.yaml
84+
vesoft/nebula-stats-exporter:v0.0.5 --bare-metal --bare-metal-config=/config.yaml
8585
```
8686
8787
## 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: v2.0.0
6-
created: "2021-06-22T11:26:39.869263+08:00"
5+
appVersion: v2.5.0
6+
created: "2021-08-16T11:54:34.149524302+08:00"
77
description: Nebula Graph stats exporter for prometheus
8-
digest: f29e9f0aa30736c059fda743d3442deb72db97d7d42d06fd75e7663f5b9d17f9
8+
digest: 8b02d03f03d5d0ee7fbb2dc6fdb92ad5878409f07d928a2d778413dfd7a0b8de
99
home: https://nebula-graph.io
1010
icon: https://github.com/vesoft-inc/nebula/raw/master/docs/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-0.2.0.tgz
32-
version: 0.2.0
33-
generated: "2021-06-22T11:26:39.868345+08:00"
31+
- https://vesoft-inc.github.io/nebula-stats-exporter/charts/nebula-exporter-v0.0.5.tgz
32+
version: v0.0.5
33+
generated: "2021-08-16T11:54:34.14868979+08:00"

charts/nebula-exporter-0.2.0.tgz

-3.92 KB
Binary file not shown.

charts/nebula-exporter-v0.0.5.tgz

3.94 KB
Binary file not shown.

charts/nebula-exporter/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ startUp:
1717

1818
image:
1919
repository: vesoft/nebula-stats-exporter
20-
tag: v0.0.4
20+
tag: v0.0.5
2121
pullPolicy: IfNotPresent
2222

2323
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:v0.0.4 --bare-metal --bare-metal-config=/config.yaml
8+
vesoft/nebula-stats-exporter:v0.0.5 --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:v0.0.4 --bare-metal --bare-metal-config=/config.yaml
13+
vesoft/nebula-stats-exporter:v0.0.5 --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:v0.0.4 --bare-metal --bare-metal-config=/config.yaml
8+
vesoft/nebula-stats-exporter:v0.0.5 --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:v0.0.4 --bare-metal --bare-metal-config=/config.yaml
13+
vesoft/nebula-stats-exporter:v0.0.5 --bare-metal --bare-metal-config=/config.yaml
1414
```
1515

1616
## Install prometheus

deploy/kubernetes/README-CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -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 | `v0.0.4` |
88+
| `image.tag` | Nebula stats exporter image tag | `v0.0.5` |
8989
| `image.pullPolicy` | Nebula stats exporter imagePullPolicy | `IfNotPresent` |
9090
| `serviceAccount.create` | 指定是否应创建 service account | `true` |
9191
| `serviceAccount.annotations` | 添加到 service account 的 annotations | `{}` |

deploy/kubernetes/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -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 | `v0.0.4` |
88+
| `image.tag` | Nebula stats exporter image tag | `v0.0.5` |
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 | `{}` |

exporter/type.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
package exporter
22

3-
const NebulaItemClusterName = "_nebula"
3+
const DefaultClusterName = "default"
44

55
type (
66
StaticConfig struct {
7-
Version string `yaml:"version"`
8-
Clusters []Cluster `yaml:"clusters"`
7+
Version string `yaml:"version"`
8+
Clusters []Cluster `yaml:"clusters"`
99
// Deprecated: use Clusters instead.
1010
// TODO: Remove NebulaItems
1111
NebulaItems []NebulaItem `yaml:"nebulaItems"`

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func main() {
9595
})
9696
}
9797
config.Clusters = append(config.Clusters, exporter.Cluster{
98-
Name: exporter.NebulaItemClusterName,
98+
Name: exporter.DefaultClusterName,
9999
Instances: instances,
100100
})
101101
config.NebulaItems = nil

0 commit comments

Comments
 (0)