Commit 99be9cf 1 parent 003bb50 commit 99be9cf Copy full SHA for 99be9cf
File tree 13 files changed +22
-22
lines changed
13 files changed +22
-22
lines changed Original file line number Diff line number Diff line change 1
1
PROJECT ="nebula-exporter"
2
2
3
3
GO ?= go
4
- VERSION ?= v0.0.4
4
+ VERSION ?= v0.0.5
5
5
DockerUser =vesoft
6
6
7
7
ifeq (,$(shell go env GOBIN) )
Original file line number Diff line number Diff line change @@ -76,12 +76,12 @@ scrape_configs:
76
76
` ` ` shell
77
77
$ docker run -d --restart=always --name nebula-stats-exporter -p 9100:9100 \
78
78
-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
80
80
81
81
# 例如:
82
82
$ docker run -d --restart=always --name nebula-stats-exporter -p 9100:9100 \
83
83
-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
85
85
` ` `
86
86
87
87
# # 在裸机上运行
Original file line number Diff line number Diff line change @@ -76,12 +76,12 @@ And adjust the host name `NEBULA_STATS_EXPORTER_HOSTNAME` accordingly.
76
76
` ` ` shell
77
77
$ docker run -d --restart=always --name nebula-stats-exporter -p 9100:9100 \
78
78
-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
80
80
81
81
# For example:
82
82
$ docker run -d --restart=always --name nebula-stats-exporter -p 9100:9100 \
83
83
-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
85
85
` ` `
86
86
87
87
# # Run on Bare Metal
Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ apiVersion: v1
2
2
entries :
3
3
nebula-exporter :
4
4
- 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"
7
7
description : Nebula Graph stats exporter for prometheus
8
- digest : f29e9f0aa30736c059fda743d3442deb72db97d7d42d06fd75e7663f5b9d17f9
8
+ digest : 8b02d03f03d5d0ee7fbb2dc6fdb92ad5878409f07d928a2d778413dfd7a0b8de
9
9
home : https://nebula-graph.io
10
10
icon : https://github.com/vesoft-inc/nebula/raw/master/docs/logo.png
11
11
keywords :
@@ -28,6 +28,6 @@ entries:
28
28
sources :
29
29
- https://github.com/vesoft-inc/nebula
30
30
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"
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ startUp:
17
17
18
18
image :
19
19
repository : vesoft/nebula-stats-exporter
20
- tag : v0.0.4
20
+ tag : v0.0.5
21
21
pullPolicy : IfNotPresent
22
22
23
23
serviceAccount :
Original file line number Diff line number Diff line change 5
5
``` shell
6
6
$ docker run -d --restart=always --name nebula-stats-exporter -p 9100:9100 \
7
7
-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
9
9
10
10
# 例如:
11
11
$ docker run -d --restart=always --name nebula-stats-exporter -p 9100:9100 \
12
12
-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
14
14
```
15
15
16
16
## 安装 prometheus
Original file line number Diff line number Diff line change 5
5
``` shell
6
6
$ docker run -d --restart=always --name nebula-stats-exporter -p 9100:9100 \
7
7
-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
9
9
10
10
# For example:
11
11
$ docker run -d --restart=always --name nebula-stats-exporter -p 9100:9100 \
12
12
-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
14
14
```
15
15
16
16
## Install prometheus
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ $ helm show values nebula-exporter/nebula-exporter
85
85
| ` startUp.listenPort ` | Nebula metrics 服务监听端口 | ` 9100 ` |
86
86
| ` startUp.maxRequests ` | 最大并行抓取请求数,使用 0 则不限制 | ` 40 ` |
87
87
| ` 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 ` |
89
89
| ` image.pullPolicy ` | Nebula stats exporter imagePullPolicy | ` IfNotPresent ` |
90
90
| ` serviceAccount.create ` | 指定是否应创建 service account | ` true ` |
91
91
| ` serviceAccount.annotations ` | 添加到 service account 的 annotations | ` {} ` |
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ The following table lists is the configurable parameters of the chart and their
85
85
| ` startUp.listenPort ` | The nebula metrics server listening port | ` 9100 ` |
86
86
| ` startUp.maxRequests ` | Maximum number of parallel scrape requests, use 0 for no limit | ` 40 ` |
87
87
| ` 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 ` |
89
89
| ` image.pullPolicy ` | Nebula stats exporter imagePullPolicy | ` IfNotPresent ` |
90
90
| ` serviceAccount.create ` | Specifies whether a service account should be created | ` true ` |
91
91
| ` serviceAccount.annotations ` | Annotations to add to the service account | ` {} ` |
Original file line number Diff line number Diff line change 1
1
package exporter
2
2
3
- const NebulaItemClusterName = "_nebula "
3
+ const DefaultClusterName = "default "
4
4
5
5
type (
6
6
StaticConfig struct {
7
- Version string `yaml:"version"`
8
- Clusters []Cluster `yaml:"clusters"`
7
+ Version string `yaml:"version"`
8
+ Clusters []Cluster `yaml:"clusters"`
9
9
// Deprecated: use Clusters instead.
10
10
// TODO: Remove NebulaItems
11
11
NebulaItems []NebulaItem `yaml:"nebulaItems"`
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ func main() {
95
95
})
96
96
}
97
97
config .Clusters = append (config .Clusters , exporter.Cluster {
98
- Name : exporter .NebulaItemClusterName ,
98
+ Name : exporter .DefaultClusterName ,
99
99
Instances : instances ,
100
100
})
101
101
config .NebulaItems = nil
You can’t perform that action at this time.
0 commit comments