add dyncfg vnode option to collectors (#19214)
* add dyncfg vnode option to collectors * fix tests
Ilya Mashchenko committed
Dec 15, 2024 at 21:29 UTC
fe744ae2d202197680a6cb9c0d30050c5201cbdf
342 files changed
+1135
-128
src/go/plugin/go.d/agent/jobmgr/dyncfg_vnode.go
+18
-13
@@ -143,6 +143,13 @@ func (m *Manager) dyncfgVnodeAdd(fn functions.Function) {
143
144
m.Vnodes[name] = cfg
145
146
+ if orig, ok := m.Vnodes[name]; ok && !orig.Equal(cfg) {
147
+ m.runningJobs.forEach(func(_ string, job *module.Job) {
148
+ if job.Vnode().Name == name {
149
+ job.UpdateVnode(cfg)
150
+ }
151
+ })
152
+ }
153
m.dyncfgRespf(fn, 202, "")
154
m.dyncfgVnodeJobCreate(cfg, dyncfgRunning)
155
}
@@ -175,16 +182,14 @@ func (m *Manager) dyncfgVnodeRemove(fn functions.Function) {
182
}
183
184
func (m *Manager) dyncfgVnodeTest(fn functions.Function) {
178
- id := fn.Args[0]
179
- name := strings.TrimPrefix(id, dyncfgVnodeID+":")
180
-
181
- orig, ok := m.Vnodes[name]
182
- if !ok {
183
- m.Warningf("dyncfg: test: vnode %s not found", name)
184
- m.dyncfgRespf(fn, 404, "The specified vnode '%s' is not registered.", name)
185
+ if len(fn.Args) < 3 {
186
+ m.Warningf("dyncfg: test: missing required arguments, want 3 got %d", len(fn.Args))
187
+ m.dyncfgRespf(fn, 400, "Missing required arguments. Need at least 3, but got %d.", len(fn.Args))
188
return
189
}
190
191
+ name := fn.Args[2]
192
+
193
cfg, err := vnodeConfigFromPayload(fn)
194
if err != nil {
195
m.Warningf("dyncfg: test: vnode: failed to create config from payload: %v", err)
@@ -200,8 +205,11 @@ func (m *Manager) dyncfgVnodeTest(fn functions.Function) {
205
206
dyncfgUpdateVnodeConfig(cfg, name)
207
203
- if orig.Equal(cfg) {
204
- m.dyncfgRespf(fn, 202, "Configuration unchanged.")
208
+ id := fn.Args[0]
209
+ _, ok := m.Vnodes[name]
210
+
211
+ if id == dyncfgVnodeID || !ok {
212
+ m.dyncfgRespf(fn, 200, "")
213
return
214
}
215
@@ -308,10 +316,7 @@ func (m *Manager) vnodeUserconfigFromPayload(fn functions.Function) ([]byte, err
316
name = fn.Args[2]
317
}
318
311
- cfg.Name = name
312
- if cfg.Hostname == "" {
313
- cfg.Hostname = name
314
- }
319
+ dyncfgUpdateVnodeConfig(cfg, name)
320
321
bs, err := yaml.Marshal([]any{cfg})
322
if err != nil {
src/go/plugin/go.d/collector/activemq/collector.go
+2
-1
@@ -48,7 +48,8 @@ func New() *Collector {
48
}
49
50
type Config struct {
51
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
51
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
52
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
53
web.HTTPConfig `yaml:",inline" json:""`
54
Webadmin string `yaml:"webadmin,omitempty" json:"webadmin"`
55
MaxQueues int `yaml:"max_queues" json:"max_queues"`
src/go/plugin/go.d/collector/activemq/config_schema.json
+10
-1
@@ -36,6 +36,11 @@
36
"description": "If set, the client will not follow HTTP redirects automatically.",
37
"type": "boolean"
38
},
39
+ "vnode": {
40
+ "title": "Vnode",
41
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
42
+ "type": "string"
43
+ },
44
"max_queues": {
45
"title": "Queue limit",
46
"description": "The maximum number of concurrently collected queues. Set to 0 for no limit.",
@@ -155,7 +160,8 @@
160
"url",
161
"webadmin",
162
"timeout",
158
- "not_follow_redirects"
163
+ "not_follow_redirects",
164
+ "vnode"
165
]
166
},
167
{
@@ -208,6 +214,9 @@
214
"method": {
215
"ui:widget": "hidden"
216
},
217
+ "vnode": {
218
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
219
+ },
220
"timeout": {
221
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
222
},
src/go/plugin/go.d/collector/activemq/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"webadmin": "ok",
5
"max_queues": 123,
src/go/plugin/go.d/collector/activemq/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
webadmin: "ok"
4
max_queues: 123
src/go/plugin/go.d/collector/apache/collector.go
+2
-1
@@ -45,7 +45,8 @@ func New() *Collector {
45
}
46
47
type Config struct {
48
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
48
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
49
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
50
web.HTTPConfig `yaml:",inline" json:""`
51
}
52
src/go/plugin/go.d/collector/apache/config_schema.json
+10
-1
@@ -35,6 +35,11 @@
35
"description": "If set, forces the use of HTTP/2 protocol for all requests, even over plain TCP (h2c).",
36
"type": "boolean"
37
},
38
+ "vnode": {
39
+ "title": "Vnode",
40
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
41
+ "type": "string"
42
+ },
43
"username": {
44
"title": "Username",
45
"description": "The username for basic authentication.",
@@ -124,6 +129,9 @@
129
"method": {
130
"ui:widget": "hidden"
131
},
132
+ "vnode": {
133
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
134
+ },
135
"timeout": {
136
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
137
},
@@ -149,7 +157,8 @@
157
"url",
158
"timeout",
159
"not_follow_redirects",
152
- "force_http2"
160
+ "force_http2",
161
+ "vnode"
162
]
163
},
164
{
src/go/plugin/go.d/collector/apache/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/apache/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/apcupsd/collector.go
+1
@@ -35,6 +35,7 @@ func New() *Collector {
35
}
36
37
type Config struct {
38
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
39
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
40
Address string `yaml:"address" json:"address"`
41
Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
src/go/plugin/go.d/collector/apcupsd/config_schema.json
+8
@@ -23,6 +23,11 @@
23
"type": "number",
24
"minimum": 0.5,
25
"default": 1
26
+ },
27
+ "vnode": {
28
+ "title": "Vnode",
29
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
30
+ "type": "string"
31
}
32
},
33
"required": [
@@ -36,6 +41,9 @@
41
"uiOptions": {
42
"fullPage": true
43
},
44
+ "vnode": {
45
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
46
+ },
47
"timeout": {
48
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
49
}
src/go/plugin/go.d/collector/apcupsd/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"address": "ok",
5
"timeout": 123.123
src/go/plugin/go.d/collector/apcupsd/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
address: "ok"
4
timeout: 123.123
src/go/plugin/go.d/collector/beanstalk/collector.go
+1
@@ -43,6 +43,7 @@ func New() *Collector {
43
}
44
45
type Config struct {
46
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
47
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
48
Address string `yaml:"address" json:"address"`
49
Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
src/go/plugin/go.d/collector/beanstalk/config_schema.json
+8
@@ -30,6 +30,11 @@
30
"type": "string",
31
"minimum": 1,
32
"default": "*"
33
+ },
34
+ "vnode": {
35
+ "title": "Vnode",
36
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
37
+ "type": "string"
38
}
39
},
40
"required": [
@@ -43,6 +48,9 @@
48
"uiOptions": {
49
"fullPage": true
50
},
51
+ "vnode": {
52
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
53
+ },
54
"timeout": {
55
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
56
},
src/go/plugin/go.d/collector/beanstalk/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"address": "ok",
5
"timeout": 123.123,
src/go/plugin/go.d/collector/beanstalk/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
address: "ok"
4
timeout: 123.123
src/go/plugin/go.d/collector/bind/collector.go
+2
-1
@@ -44,7 +44,8 @@ func New() *Collector {
44
}
45
46
type Config struct {
47
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
47
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
48
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
49
web.HTTPConfig `yaml:",inline" json:""`
50
PermitView string `yaml:"permit_view,omitempty" json:"permit_view"`
51
}
src/go/plugin/go.d/collector/bind/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,7 +124,8 @@
124
"update_every",
125
"url",
126
"timeout",
122
- "not_follow_redirects"
127
+ "not_follow_redirects",
128
+ "vnode"
129
]
130
},
131
{
@@ -163,6 +169,9 @@
169
"method": {
170
"ui:widget": "hidden"
171
},
172
+ "vnode": {
173
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
174
+ },
175
"timeout": {
176
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
177
},
src/go/plugin/go.d/collector/bind/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/bind/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/boinc/collector.go
+1
@@ -36,6 +36,7 @@ func New() *Collector {
36
}
37
38
type Config struct {
39
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
40
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
41
Address string `yaml:"address" json:"address"`
42
Timeout confopt.Duration `yaml:"timeout" json:"timeout"`
src/go/plugin/go.d/collector/boinc/config_schema.json
+8
@@ -29,6 +29,11 @@
29
"description": "The GUI RPC password for authentication.",
30
"type": "string",
31
"sensitive": true
32
+ },
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
}
38
},
39
"required": [
@@ -42,6 +47,9 @@
47
"uiOptions": {
48
"fullPage": true
49
},
50
+ "vnode": {
51
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
52
+ },
53
"timeout": {
54
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
55
},
src/go/plugin/go.d/collector/boinc/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"address": "ok",
5
"timeout": 123.123,
src/go/plugin/go.d/collector/boinc/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
address: "ok"
4
timeout: 123.123
src/go/plugin/go.d/collector/cassandra/collector.go
+2
-1
@@ -48,7 +48,8 @@ func New() *Collector {
48
}
49
50
type Config struct {
51
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
51
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
52
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
53
web.HTTPConfig `yaml:",inline" json:""`
54
}
55
src/go/plugin/go.d/collector/cassandra/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,7 +124,8 @@
124
"update_every",
125
"url",
126
"timeout",
122
- "not_follow_redirects"
127
+ "not_follow_redirects",
128
+ "vnode"
129
]
130
},
131
{
@@ -163,6 +169,9 @@
169
"method": {
170
"ui:widget": "hidden"
171
},
172
+ "vnode": {
173
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
174
+ },
175
"timeout": {
176
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
177
},
src/go/plugin/go.d/collector/cassandra/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/cassandra/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/ceph/collector.go
+2
-1
@@ -53,7 +53,8 @@ func New() *Collector {
53
}
54
55
type Config struct {
56
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
56
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
57
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
58
web.HTTPConfig `yaml:",inline" json:""`
59
}
60
src/go/plugin/go.d/collector/ceph/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -122,6 +127,9 @@
127
"method": {
128
"ui:widget": "hidden"
129
},
130
+ "vnode": {
131
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
132
+ },
133
"timeout": {
134
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
135
},
@@ -146,7 +154,8 @@
154
"update_every",
155
"url",
156
"timeout",
149
- "not_follow_redirects"
157
+ "not_follow_redirects",
158
+ "vnode"
159
]
160
},
161
{
src/go/plugin/go.d/collector/ceph/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/ceph/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/chrony/collector.go
+1
@@ -38,6 +38,7 @@ func New() *Collector {
38
}
39
40
type Config struct {
41
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
42
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
43
Address string `yaml:"address" json:"address"`
44
Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
src/go/plugin/go.d/collector/chrony/config_schema.json
+8
@@ -22,6 +22,11 @@
22
"description": "Timeout for establishing a connection and communication (reading and writing) in seconds.",
23
"type": "number",
24
"default": 1
25
+ },
26
+ "vnode": {
27
+ "title": "Vnode",
28
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
29
+ "type": "string"
30
}
31
},
32
"required": [
@@ -35,6 +40,9 @@
40
"uiOptions": {
41
"fullPage": true
42
},
43
+ "vnode": {
44
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
45
+ },
46
"timeout": {
47
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
48
}
src/go/plugin/go.d/collector/chrony/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"address": "ok",
5
"timeout": 123.123
src/go/plugin/go.d/collector/chrony/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
address: "ok"
4
timeout: 123.123
src/go/plugin/go.d/collector/clickhouse/collector.go
+2
-1
@@ -45,7 +45,8 @@ func New() *Collector {
45
}
46
47
type Config struct {
48
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
48
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
49
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
50
web.HTTPConfig `yaml:",inline" json:""`
51
}
52
src/go/plugin/go.d/collector/clickhouse/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,6 +124,9 @@
124
"method": {
125
"ui:widget": "hidden"
126
},
127
+ "vnode": {
128
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
129
+ },
130
"timeout": {
131
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
132
},
@@ -143,7 +151,8 @@
151
"update_every",
152
"url",
153
"timeout",
146
- "not_follow_redirects"
154
+ "not_follow_redirects",
155
+ "vnode"
156
]
157
},
158
{
src/go/plugin/go.d/collector/clickhouse/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/clickhouse/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/cockroachdb/collector.go
+2
-1
@@ -50,7 +50,8 @@ func New() *Collector {
50
}
51
52
type Config struct {
53
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
53
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
54
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
55
web.HTTPConfig `yaml:",inline" json:""`
56
}
57
src/go/plugin/go.d/collector/cockroachdb/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,7 +124,8 @@
124
"update_every",
125
"url",
126
"timeout",
122
- "not_follow_redirects"
127
+ "not_follow_redirects",
128
+ "vnode"
129
]
130
},
131
{
@@ -163,6 +169,9 @@
169
"method": {
170
"ui:widget": "hidden"
171
},
172
+ "vnode": {
173
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
174
+ },
175
"timeout": {
176
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
177
},
src/go/plugin/go.d/collector/cockroachdb/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/cockroachdb/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/consul/collector.go
+2
-1
@@ -53,7 +53,8 @@ func New() *Collector {
53
}
54
55
type Config struct {
56
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
56
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
57
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
58
web.HTTPConfig `yaml:",inline" json:""`
59
ACLToken string `yaml:"acl_token,omitempty" json:"acl_token"`
60
}
src/go/plugin/go.d/collector/consul/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"acl_token": {
39
"title": "X-Consul-Token",
40
"description": "The Consul token for [authentication](https://developer.hashicorp.com/consul/api-docs/api-structure#authentication).",
@@ -125,7 +130,8 @@
130
"update_every",
131
"url",
132
"timeout",
128
- "not_follow_redirects"
133
+ "not_follow_redirects",
134
+ "vnode"
135
]
136
},
137
{
@@ -170,6 +176,9 @@
176
"method": {
177
"ui:widget": "hidden"
178
},
179
+ "vnode": {
180
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
181
+ },
182
"timeout": {
183
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
184
},
src/go/plugin/go.d/collector/consul/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/consul/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/coredns/collector.go
+2
-1
@@ -48,7 +48,8 @@ func New() *Collector {
48
}
49
50
type Config struct {
51
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
51
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
52
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
53
web.HTTPConfig `yaml:",inline" json:""`
54
PerServerStats matcher.SimpleExpr `yaml:"per_server_stats,omitempty" json:"per_server_stats"`
55
PerZoneStats matcher.SimpleExpr `yaml:"per_zone_stats,omitempty" json:"per_zone_stats"`
src/go/plugin/go.d/collector/coredns/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"per_server_stats": {
39
"title": "Server selector",
40
"description": "Configures collection of per-server statistics. If left empty, no stats will be collected. Matching is performed against the `server` label value.",
@@ -194,7 +199,8 @@
199
"update_every",
200
"url",
201
"timeout",
197
- "not_follow_redirects"
202
+ "not_follow_redirects",
203
+ "vnode"
204
]
205
},
206
{
@@ -242,6 +248,9 @@
248
"method": {
249
"ui:widget": "hidden"
250
},
251
+ "vnode": {
252
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
253
+ },
254
"timeout": {
255
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
256
},
src/go/plugin/go.d/collector/coredns/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/coredns/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/couchbase/collector.go
+2
-1
@@ -46,7 +46,8 @@ func New() *Collector {
46
}
47
48
type Config struct {
49
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
49
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
50
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
51
web.HTTPConfig `yaml:",inline" json:""`
52
}
53
src/go/plugin/go.d/collector/couchbase/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,7 +124,8 @@
124
"update_every",
125
"url",
126
"timeout",
122
- "not_follow_redirects"
127
+ "not_follow_redirects",
128
+ "vnode"
129
]
130
},
131
{
@@ -163,6 +169,9 @@
169
"method": {
170
"ui:widget": "hidden"
171
},
172
+ "vnode": {
173
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
174
+ },
175
"timeout": {
176
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
177
},
src/go/plugin/go.d/collector/couchbase/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/couchbase/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/couchdb/collector.go
+2
-1
@@ -47,7 +47,8 @@ func New() *Collector {
47
}
48
49
type Config struct {
50
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
50
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
51
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
52
web.HTTPConfig `yaml:",inline" json:""`
53
Node string `yaml:"node,omitempty" json:"node"`
54
Databases string `yaml:"databases,omitempty" json:"databases"`
src/go/plugin/go.d/collector/couchdb/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"node": {
39
"title": "Node name",
40
"description": "CouchDB node name. Same as -name vm.args argument.",
@@ -133,7 +138,8 @@
138
"timeout",
139
"not_follow_redirects",
140
"node",
136
- "databases"
141
+ "databases",
142
+ "vnode"
143
]
144
},
145
{
@@ -177,6 +183,9 @@
183
"method": {
184
"ui:widget": "hidden"
185
},
186
+ "vnode": {
187
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
188
+ },
189
"timeout": {
190
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
191
},
src/go/plugin/go.d/collector/couchdb/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/couchdb/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/dnsdist/collector.go
+2
-1
@@ -45,7 +45,8 @@ func New() *Collector {
45
}
46
47
type Config struct {
48
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
48
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
49
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
50
web.HTTPConfig `yaml:",inline" json:""`
51
}
52
src/go/plugin/go.d/collector/dnsdist/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,7 +124,8 @@
124
"update_every",
125
"url",
126
"timeout",
122
- "not_follow_redirects"
127
+ "not_follow_redirects",
128
+ "vnode"
129
]
130
},
131
{
@@ -163,6 +169,9 @@
169
"method": {
170
"ui:widget": "hidden"
171
},
172
+ "vnode": {
173
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
174
+ },
175
"timeout": {
176
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
177
},
src/go/plugin/go.d/collector/dnsdist/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/dnsdist/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/dnsmasq/collector.go
+1
@@ -44,6 +44,7 @@ func New() *Collector {
44
}
45
46
type Config struct {
47
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
48
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
49
Address string `yaml:"address" json:"address"`
50
Protocol string `yaml:"protocol,omitempty" json:"protocol"`
src/go/plugin/go.d/collector/dnsmasq/config_schema.json
+8
@@ -33,6 +33,11 @@
33
"description": "Timeout for establishing a connection and communication (reading and writing) in seconds.",
34
"type": "number",
35
"default": 1
36
+ },
37
+ "vnode": {
38
+ "title": "Vnode",
39
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
40
+ "type": "string"
41
}
42
},
43
"required": [
@@ -47,6 +52,9 @@
52
"uiOptions": {
53
"fullPage": true
54
},
55
+ "vnode": {
56
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
57
+ },
58
"timeout": {
59
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
60
},
src/go/plugin/go.d/collector/dnsmasq/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"protocol": "ok",
5
"address": "ok",
src/go/plugin/go.d/collector/dnsmasq/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
protocol: "ok"
4
address: "ok"
src/go/plugin/go.d/collector/dnsquery/collector.go
+1
@@ -46,6 +46,7 @@ func New() *Collector {
46
}
47
48
type Config struct {
49
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
50
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
51
Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
52
Domains []string `yaml:"domains" json:"domains"`
src/go/plugin/go.d/collector/dnsquery/config_schema.json
+8
@@ -98,6 +98,11 @@
98
],
99
"uniqueItems": true,
100
"minItems": 1
101
+ },
102
+ "vnode": {
103
+ "title": "Vnode",
104
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
105
+ "type": "string"
106
}
107
},
108
"required": [
@@ -113,6 +118,9 @@
118
"uiOptions": {
119
"fullPage": true
120
},
121
+ "vnode": {
122
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
123
+ },
124
"timeout": {
125
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
126
},
src/go/plugin/go.d/collector/dnsquery/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"domains": [
5
"ok"
src/go/plugin/go.d/collector/dnsquery/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
domains:
4
- "ok"
src/go/plugin/go.d/collector/docker/collector.go
+1
@@ -47,6 +47,7 @@ func New() *Collector {
47
}
48
49
type Config struct {
50
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
51
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
52
Address string `yaml:"address" json:"address"`
53
Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
src/go/plugin/go.d/collector/docker/config_schema.json
+8
@@ -28,6 +28,11 @@
28
"description": "Collect container writable layer size.",
29
"type": "boolean",
30
"default": false
31
+ },
32
+ "vnode": {
33
+ "title": "Vnode",
34
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
35
+ "type": "string"
36
}
37
},
38
"required": [
@@ -41,6 +46,9 @@
46
"uiOptions": {
47
"fullPage": true
48
},
49
+ "vnode": {
50
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
51
+ },
52
"address": {
53
"ui:help": "Use `unix://{path_to_socket}` for Unix socket or `tcp://{ip}:{port}` for TCP socket."
54
},
src/go/plugin/go.d/collector/docker/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"address": "ok",
5
"timeout": 123.123,
src/go/plugin/go.d/collector/docker/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
address: "ok"
4
timeout: 123.123
src/go/plugin/go.d/collector/docker_engine/collector.go
+2
-1
@@ -42,7 +42,8 @@ func New() *Collector {
42
}
43
44
type Config struct {
45
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
45
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
46
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
47
web.HTTPConfig `yaml:",inline" json:""`
48
}
49
src/go/plugin/go.d/collector/docker_engine/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -122,7 +127,8 @@
127
"update_every",
128
"url",
129
"timeout",
125
- "not_follow_redirects"
130
+ "not_follow_redirects",
131
+ "vnode"
132
]
133
},
134
{
@@ -163,6 +169,9 @@
169
"method": {
170
"ui:widget": "hidden"
171
},
172
+ "vnode": {
173
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
174
+ },
175
"timeout": {
176
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
177
},
src/go/plugin/go.d/collector/docker_engine/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/docker_engine/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/dockerhub/collector.go
+2
-1
@@ -44,7 +44,8 @@ func New() *Collector {
44
}
45
46
type Config struct {
47
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
47
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
48
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
49
web.HTTPConfig `yaml:",inline" json:""`
50
Repositories []string `yaml:"repositories" json:"repositories"`
51
}
src/go/plugin/go.d/collector/dockerhub/config_schema.json
+10
-1
@@ -45,6 +45,11 @@
45
"description": "If set, the client will not follow HTTP redirects automatically.",
46
"type": "boolean"
47
},
48
+ "vnode": {
49
+ "title": "Vnode",
50
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
51
+ "type": "string"
52
+ },
53
"username": {
54
"title": "Username",
55
"description": "The username for basic authentication.",
@@ -136,7 +141,8 @@
141
"url",
142
"timeout",
143
"repositories",
139
- "not_follow_redirects"
144
+ "not_follow_redirects",
145
+ "vnode"
146
]
147
},
148
{
@@ -180,6 +186,9 @@
186
"method": {
187
"ui:widget": "hidden"
188
},
189
+ "vnode": {
190
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
191
+ },
192
"timeout": {
193
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
194
},
src/go/plugin/go.d/collector/dockerhub/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/dockerhub/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/dovecot/collector.go
+1
@@ -35,6 +35,7 @@ func New() *Collector {
35
}
36
37
type Config struct {
38
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
39
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
40
Address string `yaml:"address" json:"address"`
41
Timeout confopt.Duration `yaml:"timeout" json:"timeout"`
src/go/plugin/go.d/collector/dovecot/config_schema.json
+8
@@ -23,6 +23,11 @@
23
"type": "number",
24
"minimum": 0.5,
25
"default": 1
26
+ },
27
+ "vnode": {
28
+ "title": "Vnode",
29
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
30
+ "type": "string"
31
}
32
},
33
"required": [
@@ -36,6 +41,9 @@
41
"uiOptions": {
42
"fullPage": true
43
},
44
+ "vnode": {
45
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
46
+ },
47
"address": {
48
"ui:help": "Use `unix://{path_to_socket}` for Unix socket or `{ip}:{port}` for TCP socket."
49
},
src/go/plugin/go.d/collector/dovecot/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"address": "ok",
5
"timeout": 123.123
src/go/plugin/go.d/collector/dovecot/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
address: "ok"
4
timeout: 123.123
src/go/plugin/go.d/collector/elasticsearch/collector.go
+2
-1
@@ -58,7 +58,8 @@ func New() *Collector {
58
}
59
60
type Config struct {
61
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
61
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
62
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
63
web.HTTPConfig `yaml:",inline" json:""`
64
ClusterMode bool `yaml:"cluster_mode" json:"cluster_mode"`
65
DoNodeStats bool `yaml:"collect_node_stats" json:"collect_node_stats"`
src/go/plugin/go.d/collector/elasticsearch/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"cluster_mode": {
39
"title": "Cluster mode",
40
"description": "If set, metrics will be collected for all nodes in the Elasticsearch cluster; otherwise, only for the local node where the collector is running.",
@@ -154,7 +159,8 @@
159
"collect_node_stats",
160
"collect_cluster_health",
161
"collect_cluster_stats",
157
- "collect_indices_stats"
162
+ "collect_indices_stats",
163
+ "vnode"
164
]
165
},
166
{
@@ -198,6 +204,9 @@
204
"method": {
205
"ui:widget": "hidden"
206
},
207
+ "vnode": {
208
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
209
+ },
210
"timeout": {
211
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
212
},
src/go/plugin/go.d/collector/elasticsearch/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/elasticsearch/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/envoy/collector.go
+2
-1
@@ -51,7 +51,8 @@ func New() *Collector {
51
}
52
53
type Config struct {
54
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
54
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
55
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
56
web.HTTPConfig `yaml:",inline" json:""`
57
}
58
src/go/plugin/go.d/collector/envoy/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,7 +124,8 @@
124
"update_every",
125
"url",
126
"timeout",
122
- "not_follow_redirects"
127
+ "not_follow_redirects",
128
+ "vnode"
129
]
130
},
131
{
@@ -163,6 +169,9 @@
169
"method": {
170
"ui:widget": "hidden"
171
},
172
+ "vnode": {
173
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
174
+ },
175
"timeout": {
176
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
177
},
src/go/plugin/go.d/collector/envoy/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/envoy/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/fluentd/collector.go
+2
-1
@@ -43,7 +43,8 @@ func New() *Collector {
43
}
44
45
type Config struct {
46
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
46
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
47
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
48
web.HTTPConfig `yaml:",inline" json:""`
49
PermitPlugin string `yaml:"permit_plugin_id,omitempty" json:"permit_plugin_id"`
50
}
src/go/plugin/go.d/collector/fluentd/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,7 +124,8 @@
124
"update_every",
125
"url",
126
"timeout",
122
- "not_follow_redirects"
127
+ "not_follow_redirects",
128
+ "vnode"
129
]
130
},
131
{
@@ -163,6 +169,9 @@
169
"method": {
170
"ui:widget": "hidden"
171
},
172
+ "vnode": {
173
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
174
+ },
175
"timeout": {
176
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
177
},
src/go/plugin/go.d/collector/fluentd/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/fluentd/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/freeradius/collector.go
+1
@@ -37,6 +37,7 @@ func New() *Collector {
37
}
38
39
type Config struct {
40
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
41
UpdateEvery int `yaml:"update_every" json:"update_every"`
42
Address string `yaml:"address" json:"address"`
43
Port int `yaml:"port" json:"port"`
src/go/plugin/go.d/collector/freeradius/config_schema.json
+8
@@ -34,6 +34,11 @@
34
"title": "Secret",
35
"description": "Shared secret key.",
36
"type": "string"
37
+ },
38
+ "vnode": {
39
+ "title": "Vnode",
40
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
41
+ "type": "string"
42
}
43
},
44
"required": [
@@ -49,6 +54,9 @@
54
"uiOptions": {
55
"fullPage": true
56
},
57
+ "vnode": {
58
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
59
+ },
60
"timeout": {
61
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
62
},
src/go/plugin/go.d/collector/freeradius/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"address": "ok",
5
"port": 123,
src/go/plugin/go.d/collector/freeradius/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
address: "ok"
4
port: 123
src/go/plugin/go.d/collector/gearman/collector.go
+1
@@ -37,6 +37,7 @@ func New() *Collector {
37
}
38
39
type Config struct {
40
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
41
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
42
Address string `yaml:"address" json:"address"`
43
Timeout confopt.Duration `yaml:"timeout" json:"timeout"`
src/go/plugin/go.d/collector/gearman/config_schema.json
+8
@@ -23,6 +23,11 @@
23
"type": "number",
24
"minimum": 0.5,
25
"default": 1
26
+ },
27
+ "vnode": {
28
+ "title": "Vnode",
29
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
30
+ "type": "string"
31
}
32
},
33
"required": [
@@ -36,6 +41,9 @@
41
"uiOptions": {
42
"fullPage": true
43
},
44
+ "vnode": {
45
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
46
+ },
47
"timeout": {
48
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
49
}
src/go/plugin/go.d/collector/gearman/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"address": "ok",
5
"timeout": 123.123
src/go/plugin/go.d/collector/gearman/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
address: "ok"
4
timeout: 123.123
src/go/plugin/go.d/collector/hdfs/collector.go
+1
@@ -44,6 +44,7 @@ func New() *Collector {
44
}
45
46
type Config struct {
47
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
48
web.HTTPConfig `yaml:",inline" json:""`
49
UpdateEvery int `yaml:"update_every" json:"update_every"`
50
}
src/go/plugin/go.d/collector/hdfs/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,7 +124,8 @@
124
"update_every",
125
"url",
126
"timeout",
122
- "not_follow_redirects"
127
+ "not_follow_redirects",
128
+ "vnode"
129
]
130
},
131
{
@@ -163,6 +169,9 @@
169
"method": {
170
"ui:widget": "hidden"
171
},
172
+ "vnode": {
173
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
174
+ },
175
"url": {
176
"ui:help": "By default, the DataNode's port is 9864, and the NameNode's port is 9870, as specified in the [HDFS configuration](https://hadoop.apache.org/docs/r3.1.3/hadoop-project-dist/hadoop-hdfs/hdfs-default.xml)."
177
},
src/go/plugin/go.d/collector/hdfs/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/hdfs/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/httpcheck/collector.go
+2
-1
@@ -47,7 +47,8 @@ func New() *Collector {
47
48
type (
49
Config struct {
50
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
50
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
51
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
52
web.HTTPConfig `yaml:",inline" json:""`
53
AcceptedStatuses []int `yaml:"status_accepted" json:"status_accepted"`
54
ResponseMatch string `yaml:"response_match,omitempty" json:"response_match"`
src/go/plugin/go.d/collector/httpcheck/config_schema.json
+10
-1
@@ -46,6 +46,11 @@
46
"description": "The body content to send along with the HTTP request (if applicable).",
47
"type": "string"
48
},
49
+ "vnode": {
50
+ "title": "Vnode",
51
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
52
+ "type": "string"
53
+ },
54
"status_accepted": {
55
"title": "Status code check",
56
"description": "Specifies the list of **HTTP response status codes** that are considered **acceptable**. Responses with status codes not included in this list will be categorized as 'bad status' in the status chart.",
@@ -194,7 +199,8 @@
199
"timeout",
200
"not_follow_redirects",
201
"method",
197
- "body"
202
+ "body",
203
+ "vnode"
204
]
205
},
206
{
@@ -241,6 +247,9 @@
247
"uiOptions": {
248
"fullPage": true
249
},
250
+ "vnode": {
251
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
252
+ },
253
"url": {
254
"ui:placeholder": "http://127.0.0.1"
255
},
src/go/plugin/go.d/collector/httpcheck/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/httpcheck/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/icecast/collector.go
+2
-1
@@ -45,7 +45,8 @@ func New() *Collector {
45
}
46
47
type Config struct {
48
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
48
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
49
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
50
web.HTTPConfig `yaml:",inline" json:""`
51
}
52
src/go/plugin/go.d/collector/icecast/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,6 +124,9 @@
124
"method": {
125
"ui:widget": "hidden"
126
},
127
+ "vnode": {
128
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
129
+ },
130
"timeout": {
131
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
132
},
@@ -137,7 +145,8 @@
145
"update_every",
146
"url",
147
"timeout",
140
- "not_follow_redirects"
148
+ "not_follow_redirects",
149
+ "vnode"
150
]
151
},
152
{
src/go/plugin/go.d/collector/icecast/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/icecast/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/ipfs/collector.go
+2
-1
@@ -46,7 +46,8 @@ func New() *Collector {
46
}
47
48
type Config struct {
49
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
49
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
50
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
51
web.HTTPConfig `yaml:",inline" json:""`
52
QueryPinApi bool `yaml:"pinapi" json:"pinapi"`
53
QueryRepoApi bool `yaml:"repoapi" json:"repoapi"`
src/go/plugin/go.d/collector/ipfs/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"repoapi": {
39
"title": "Query Repo API",
40
"description": "Enables querying the [/api/v0/stats/repo](https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-repo-stat) endpoint for repository statistics. **Disabled by default** due to potential high CPU usage.",
@@ -129,6 +134,9 @@
134
"method": {
135
"ui:widget": "hidden"
136
},
137
+ "vnode": {
138
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
139
+ },
140
"timeout": {
141
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
142
},
@@ -155,7 +163,8 @@
163
"timeout",
164
"repoapi",
165
"pinapi",
158
- "not_follow_redirects"
166
+ "not_follow_redirects",
167
+ "vnode"
168
]
169
},
170
{
src/go/plugin/go.d/collector/ipfs/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/ipfs/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/k8s_kubelet/collector.go
+2
-1
@@ -51,7 +51,8 @@ func New() *Collector {
51
}
52
53
type Config struct {
54
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
54
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
55
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
56
web.HTTPConfig `yaml:",inline" json:""`
57
TokenPath string `yaml:"token_path,omitempty" json:"token_path"`
58
}
src/go/plugin/go.d/collector/k8s_kubelet/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,7 +124,8 @@
124
"update_every",
125
"url",
126
"timeout",
122
- "not_follow_redirects"
127
+ "not_follow_redirects",
128
+ "vnode"
129
]
130
},
131
{
@@ -163,6 +169,9 @@
169
"method": {
170
"ui:widget": "hidden"
171
},
172
+ "vnode": {
173
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
174
+ },
175
"timeout": {
176
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
177
},
src/go/plugin/go.d/collector/k8s_kubelet/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/k8s_kubelet/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/k8s_kubeproxy/collector.go
+2
-1
@@ -47,7 +47,8 @@ func New() *Collector {
47
}
48
49
type Config struct {
50
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
50
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
51
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
52
web.HTTPConfig `yaml:",inline" json:""`
53
}
54
src/go/plugin/go.d/collector/k8s_kubeproxy/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,7 +124,8 @@
124
"update_every",
125
"url",
126
"timeout",
122
- "not_follow_redirects"
127
+ "not_follow_redirects",
128
+ "vnode"
129
]
130
},
131
{
@@ -163,6 +169,9 @@
169
"method": {
170
"ui:widget": "hidden"
171
},
172
+ "vnode": {
173
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
174
+ },
175
"timeout": {
176
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
177
},
src/go/plugin/go.d/collector/k8s_kubeproxy/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/k8s_kubeproxy/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/lighttpd/collector.go
+2
-1
@@ -43,7 +43,8 @@ func New() *Collector {
43
}
44
45
type Config struct {
46
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
46
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
47
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
48
web.HTTPConfig `yaml:",inline" json:""`
49
}
50
src/go/plugin/go.d/collector/lighttpd/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,7 +124,8 @@
124
"update_every",
125
"url",
126
"timeout",
122
- "not_follow_redirects"
127
+ "not_follow_redirects",
128
+ "vnode"
129
]
130
},
131
{
@@ -163,6 +169,9 @@
169
"method": {
170
"ui:widget": "hidden"
171
},
172
+ "vnode": {
173
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
174
+ },
175
"timeout": {
176
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
177
},
src/go/plugin/go.d/collector/lighttpd/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/lighttpd/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/logstash/collector.go
+2
-1
@@ -44,7 +44,8 @@ func New() *Collector {
44
}
45
46
type Config struct {
47
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
47
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
48
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
49
web.HTTPConfig `yaml:",inline" json:""`
50
}
51
src/go/plugin/go.d/collector/logstash/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,7 +124,8 @@
124
"update_every",
125
"url",
126
"timeout",
122
- "not_follow_redirects"
127
+ "not_follow_redirects",
128
+ "vnode"
129
]
130
},
131
{
@@ -163,6 +169,9 @@
169
"method": {
170
"ui:widget": "hidden"
171
},
172
+ "vnode": {
173
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
174
+ },
175
"timeout": {
176
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
177
},
src/go/plugin/go.d/collector/logstash/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/logstash/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/maxscale/collector.go
+2
-1
@@ -46,7 +46,8 @@ func New() *Collector {
46
}
47
48
type Config struct {
49
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
49
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
50
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
51
web.HTTPConfig `yaml:",inline" json:""`
52
}
53
src/go/plugin/go.d/collector/maxscale/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -121,6 +126,9 @@
126
"method": {
127
"ui:widget": "hidden"
128
},
129
+ "vnode": {
130
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
131
+ },
132
"timeout": {
133
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
134
},
@@ -145,7 +153,8 @@
153
"update_every",
154
"url",
155
"timeout",
148
- "not_follow_redirects"
156
+ "not_follow_redirects",
157
+ "vnode"
158
]
159
},
160
{
src/go/plugin/go.d/collector/maxscale/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/maxscale/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/memcached/collector.go
+1
@@ -35,6 +35,7 @@ func New() *Collector {
35
}
36
37
type Config struct {
38
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
39
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
40
Address string `yaml:"address" json:"address"`
41
Timeout confopt.Duration `yaml:"timeout" json:"timeout"`
src/go/plugin/go.d/collector/memcached/config_schema.json
+8
@@ -23,6 +23,11 @@
23
"type": "number",
24
"minimum": 0.5,
25
"default": 1
26
+ },
27
+ "vnode": {
28
+ "title": "Vnode",
29
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
30
+ "type": "string"
31
}
32
},
33
"required": [
@@ -36,6 +41,9 @@
41
"uiOptions": {
42
"fullPage": true
43
},
44
+ "vnode": {
45
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
46
+ },
47
"timeout": {
48
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
49
}
src/go/plugin/go.d/collector/memcached/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"address": "ok",
5
"timeout": 123.123
src/go/plugin/go.d/collector/memcached/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
address: "ok"
4
timeout: 123.123
src/go/plugin/go.d/collector/mongodb/collector.go
+1
@@ -50,6 +50,7 @@ func New() *Collector {
50
}
51
52
type Config struct {
53
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
54
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
55
URI string `yaml:"uri" json:"uri"`
56
Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
src/go/plugin/go.d/collector/mongodb/config_schema.json
+10
-1
@@ -59,6 +59,11 @@
59
"uniqueItems": true
60
}
61
}
62
+ },
63
+ "vnode": {
64
+ "title": "Vnode",
65
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
66
+ "type": "string"
67
}
68
},
69
"required": [
@@ -72,6 +77,9 @@
77
"uiOptions": {
78
"fullPage": true
79
},
80
+ "vnode": {
81
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
82
+ },
83
"uri": {
84
"ui:placeholder": "mongodb://username:password@host:port"
85
},
@@ -89,7 +97,8 @@
97
"fields": [
98
"update_every",
99
"uri",
92
- "timeout"
100
+ "timeout",
101
+ "vnode"
102
]
103
},
104
{
src/go/plugin/go.d/collector/mongodb/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 1,
4
"uri": "ok",
5
"timeout": 123.123,
src/go/plugin/go.d/collector/mongodb/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 1
3
uri: "ok"
4
timeout: 123.123
src/go/plugin/go.d/collector/monit/collector.go
+2
-1
@@ -46,7 +46,8 @@ func New() *Collector {
46
}
47
48
type Config struct {
49
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
49
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
50
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
51
web.HTTPConfig `yaml:",inline" json:""`
52
}
53
src/go/plugin/go.d/collector/monit/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -121,6 +126,9 @@
126
"method": {
127
"ui:widget": "hidden"
128
},
129
+ "vnode": {
130
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
131
+ },
132
"timeout": {
133
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
134
},
@@ -145,7 +153,8 @@
153
"update_every",
154
"url",
155
"timeout",
148
- "not_follow_redirects"
156
+ "not_follow_redirects",
157
+ "vnode"
158
]
159
},
160
{
src/go/plugin/go.d/collector/monit/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/monit/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/mysql/collector.go
+1
@@ -57,6 +57,7 @@ func New() *Collector {
57
}
58
59
type Config struct {
60
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
61
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
62
DSN string `yaml:"dsn" json:"dsn"`
63
MyCNF string `yaml:"my.cnf,omitempty" json:"my.cnf"`
src/go/plugin/go.d/collector/mysql/config_schema.json
+8
@@ -28,6 +28,11 @@
28
"title": "my.cnf path",
29
"description": "Optional. Specifies the path to the my.cnf file containing connection settings under the [client] section.",
30
"type": "string"
31
+ },
32
+ "vnode": {
33
+ "title": "Vnode",
34
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
35
+ "type": "string"
36
}
37
},
38
"required": [
@@ -41,6 +46,9 @@
46
"uiOptions": {
47
"fullPage": true
48
},
49
+ "vnode": {
50
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
51
+ },
52
"dsn": {
53
"ui:placeholder": "username:password@protocol(address)/dbname"
54
},
src/go/plugin/go.d/collector/mysql/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"dsn": "ok",
5
"my.cnf": "ok",
src/go/plugin/go.d/collector/mysql/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
dsn: "ok"
4
my.cnf: "ok"
src/go/plugin/go.d/collector/nginx/collector.go
+2
-1
@@ -43,7 +43,8 @@ func New() *Collector {
43
}
44
45
type Config struct {
46
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
46
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
47
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
48
web.HTTPConfig `yaml:",inline" json:""`
49
}
50
src/go/plugin/go.d/collector/nginx/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,7 +124,8 @@
124
"update_every",
125
"url",
126
"timeout",
122
- "not_follow_redirects"
127
+ "not_follow_redirects",
128
+ "vnode"
129
]
130
},
131
{
@@ -163,6 +169,9 @@
169
"method": {
170
"ui:widget": "hidden"
171
},
172
+ "vnode": {
173
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
174
+ },
175
"timeout": {
176
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
177
},
src/go/plugin/go.d/collector/nginx/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/nginx/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/nginxplus/collector.go
+2
-1
@@ -45,7 +45,8 @@ func New() *Collector {
45
}
46
47
type Config struct {
48
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
48
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
49
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
50
web.HTTPConfig `yaml:",inline" json:""`
51
}
52
src/go/plugin/go.d/collector/nginxplus/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,7 +124,8 @@
124
"update_every",
125
"url",
126
"timeout",
122
- "not_follow_redirects"
127
+ "not_follow_redirects",
128
+ "vnode"
129
]
130
},
131
{
@@ -163,6 +169,9 @@
169
"method": {
170
"ui:widget": "hidden"
171
},
172
+ "vnode": {
173
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
174
+ },
175
"timeout": {
176
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
177
},
src/go/plugin/go.d/collector/nginxplus/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/nginxplus/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/nginxunit/collector.go
+2
-1
@@ -43,7 +43,8 @@ func New() *Collector {
43
}
44
45
type Config struct {
46
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
46
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
47
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
48
web.HTTPConfig `yaml:",inline" json:""`
49
}
50
src/go/plugin/go.d/collector/nginxunit/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,7 +124,8 @@
124
"update_every",
125
"url",
126
"timeout",
122
- "not_follow_redirects"
127
+ "not_follow_redirects",
128
+ "vnode"
129
]
130
},
131
{
@@ -163,6 +169,9 @@
169
"method": {
170
"ui:widget": "hidden"
171
},
172
+ "vnode": {
173
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
174
+ },
175
"timeout": {
176
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
177
},
src/go/plugin/go.d/collector/nginxunit/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/nginxunit/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/nginxvts/collector.go
+2
-1
@@ -45,7 +45,8 @@ func New() *Collector {
45
}
46
47
type Config struct {
48
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
48
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
49
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
50
web.HTTPConfig `yaml:",inline" json:""`
51
}
52
src/go/plugin/go.d/collector/nginxvts/config_schema.json
+10
-1
@@ -29,6 +29,11 @@
29
"description": "If set, the client will not follow HTTP redirects automatically.",
30
"type": "boolean"
31
},
32
+ "vnode": {
33
+ "title": "Vnode",
34
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
35
+ "type": "string"
36
+ },
37
"username": {
38
"title": "Username",
39
"description": "The username for basic authentication.",
@@ -118,7 +123,8 @@
123
"update_every",
124
"url",
125
"timeout",
121
- "not_follow_redirects"
126
+ "not_follow_redirects",
127
+ "vnode"
128
]
129
},
130
{
@@ -162,6 +168,9 @@
168
"method": {
169
"ui:widget": "hidden"
170
},
171
+ "vnode": {
172
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
173
+ },
174
"timeout": {
175
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
176
},
src/go/plugin/go.d/collector/nginxvts/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/nginxvts/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/ntpd/collector.go
+1
@@ -40,6 +40,7 @@ func New() *Collector {
40
}
41
42
type Config struct {
43
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
44
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
45
Address string `yaml:"address" json:"address"`
46
Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
src/go/plugin/go.d/collector/ntpd/config_schema.json
+8
@@ -28,6 +28,11 @@
28
"title": "Collect peers",
29
"description": "Collect metrics of NTP peers.",
30
"type": "boolean"
31
+ },
32
+ "vnode": {
33
+ "title": "Vnode",
34
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
35
+ "type": "string"
36
}
37
},
38
"required": [
@@ -41,6 +46,9 @@
46
"uiOptions": {
47
"fullPage": true
48
},
49
+ "vnode": {
50
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
51
+ },
52
"timeout": {
53
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
54
}
src/go/plugin/go.d/collector/ntpd/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"address": "ok",
5
"timeout": 123.123,
src/go/plugin/go.d/collector/ntpd/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
address: "ok"
4
timeout: 123.123
src/go/plugin/go.d/collector/openldap/collector.go
+1
@@ -42,6 +42,7 @@ func New() *Collector {
42
}
43
44
type Config struct {
45
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
46
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
47
URL string `yaml:"url" json:"url"`
48
Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
src/go/plugin/go.d/collector/openldap/config_schema.json
+10
-1
@@ -36,6 +36,11 @@
36
"type": "string",
37
"default": ""
38
},
39
+ "vnode": {
40
+ "title": "Vnode",
41
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
42
+ "type": "string"
43
+ },
44
"tls_skip_verify": {
45
"title": "Skip TLS verification",
46
"description": "If set, TLS certificate verification will be skipped.",
@@ -82,7 +87,8 @@
87
"url",
88
"timeout",
89
"username",
85
- "password"
90
+ "password",
91
+ "vnode"
92
]
93
},
94
{
@@ -96,6 +102,9 @@
102
}
103
]
104
},
105
+ "vnode": {
106
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
107
+ },
108
"timeout": {
109
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
110
},
src/go/plugin/go.d/collector/openldap/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"timeout": 123.123,
src/go/plugin/go.d/collector/openldap/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
timeout: 123.123
src/go/plugin/go.d/collector/openvpn/collector.go
+1
@@ -38,6 +38,7 @@ func New() *Collector {
38
}
39
40
type Config struct {
41
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
42
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
43
Address string `yaml:"address" json:"address"`
44
Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
src/go/plugin/go.d/collector/openvpn/config_schema.json
+10
-1
@@ -59,6 +59,11 @@
59
"uniqueItems": true
60
}
61
}
62
+ },
63
+ "vnode": {
64
+ "title": "Vnode",
65
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
66
+ "type": "string"
67
}
68
},
69
"required": [
@@ -72,6 +77,9 @@
77
"uiOptions": {
78
"fullPage": true
79
},
80
+ "vnode": {
81
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
82
+ },
83
"timeout": {
84
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
85
},
@@ -86,7 +94,8 @@
94
"fields": [
95
"update_every",
96
"address",
89
- "timeout"
97
+ "timeout",
98
+ "vnode"
99
]
100
},
101
{
src/go/plugin/go.d/collector/openvpn/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"address": "ok",
5
"timeout": 123.123,
src/go/plugin/go.d/collector/openvpn/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
address: "ok"
4
timeout: 123.123
src/go/plugin/go.d/collector/oracledb/collector.go
+1
@@ -37,6 +37,7 @@ func New() *Collector {
37
}
38
39
type Config struct {
40
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
41
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
42
DSN string `json:"dsn" yaml:"dsn"`
43
Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
src/go/plugin/go.d/collector/oracledb/config_schema.json
+8
@@ -23,6 +23,11 @@
23
"type": "number",
24
"minimum": 0.5,
25
"default": 1
26
+ },
27
+ "vnode": {
28
+ "title": "Vnode",
29
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
30
+ "type": "string"
31
}
32
},
33
"required": [
@@ -36,6 +41,9 @@
41
"uiOptions": {
42
"fullPage": true
43
},
44
+ "vnode": {
45
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
46
+ },
47
"dsn": {
48
"ui:help": "Format is `oracle://username:password@host:port/service`.",
49
"ui:placeholder": "oracle://username:password@host:port/service?param1=value1&...¶mN=valueN"
src/go/plugin/go.d/collector/oracledb/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"dsn": "ok",
5
"timeout": 123.123
src/go/plugin/go.d/collector/oracledb/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
dsn: "ok"
4
timeout: 123.123
src/go/plugin/go.d/collector/pgbouncer/collector.go
+1
@@ -43,6 +43,7 @@ func New() *Collector {
43
}
44
45
type Config struct {
46
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
47
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
48
DSN string `yaml:"dsn" json:"dsn"`
49
Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
src/go/plugin/go.d/collector/pgbouncer/config_schema.json
+8
@@ -23,6 +23,11 @@
23
"type": "number",
24
"minimum": 0.5,
25
"default": 1
26
+ },
27
+ "vnode": {
28
+ "title": "Vnode",
29
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
30
+ "type": "string"
31
}
32
},
33
"required": [
@@ -36,6 +41,9 @@
41
"uiOptions": {
42
"fullPage": true
43
},
44
+ "vnode": {
45
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
46
+ },
47
"dsn": {
48
"ui:placeholder": "postgres://username:password@host:port/dbname"
49
},
src/go/plugin/go.d/collector/pgbouncer/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"dsn": "ok",
5
"timeout": 123.123
src/go/plugin/go.d/collector/pgbouncer/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
dsn: "ok"
4
timeout: 123.123
src/go/plugin/go.d/collector/phpdaemon/collector.go
+2
-1
@@ -44,7 +44,8 @@ func New() *Collector {
44
}
45
46
type Config struct {
47
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
47
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
48
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
49
web.HTTPConfig `yaml:",inline" json:""`
50
}
51
src/go/plugin/go.d/collector/phpdaemon/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,7 +124,8 @@
124
"update_every",
125
"url",
126
"timeout",
122
- "not_follow_redirects"
127
+ "not_follow_redirects",
128
+ "vnode"
129
]
130
},
131
{
@@ -163,6 +169,9 @@
169
"method": {
170
"ui:widget": "hidden"
171
},
172
+ "vnode": {
173
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
174
+ },
175
"timeout": {
176
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
177
},
src/go/plugin/go.d/collector/phpdaemon/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/phpdaemon/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/phpfpm/collector.go
+2
-1
@@ -42,7 +42,8 @@ func New() *Collector {
42
}
43
44
type Config struct {
45
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
45
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
46
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
47
web.HTTPConfig `yaml:",inline" json:""`
48
Socket string `yaml:"socket,omitempty" json:"socket"`
49
Address string `yaml:"address,omitempty" json:"address"`
src/go/plugin/go.d/collector/phpfpm/config_schema.json
+10
-1
@@ -50,6 +50,11 @@
50
"description": "If set, the client will not follow HTTP redirects automatically.",
51
"type": "boolean"
52
},
53
+ "vnode": {
54
+ "title": "Vnode",
55
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
56
+ "type": "string"
57
+ },
58
"username": {
59
"title": "Username",
60
"description": "The username for basic authentication.",
@@ -130,6 +135,9 @@
135
"uiOptions": {
136
"fullPage": true
137
},
138
+ "vnode": {
139
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
140
+ },
141
"address": {
142
"ui:placeholder": "127.0.0.1:9000"
143
},
@@ -171,7 +179,8 @@
179
"url",
180
"address",
181
"socket",
174
- "not_follow_redirects"
182
+ "not_follow_redirects",
183
+ "vnode"
184
]
185
},
186
{
src/go/plugin/go.d/collector/phpfpm/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/phpfpm/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/pihole/collector.go
+2
-1
@@ -51,7 +51,8 @@ func New() *Collector {
51
}
52
53
type Config struct {
54
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
54
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
55
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
56
web.HTTPConfig `yaml:",inline" json:""`
57
SetupVarsPath string `yaml:"setup_vars_path" json:"setup_vars_path"`
58
}
src/go/plugin/go.d/collector/pihole/config_schema.json
+10
-1
@@ -36,6 +36,11 @@
36
"type": "string",
37
"default": "/etc/pihole/setupVars.conf"
38
},
39
+ "vnode": {
40
+ "title": "Vnode",
41
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
42
+ "type": "string"
43
+ },
44
"username": {
45
"title": "Username",
46
"description": "The username for basic authentication.",
@@ -129,7 +134,8 @@
134
"url",
135
"timeout",
136
"not_follow_redirects",
132
- "setup_vars_path"
137
+ "setup_vars_path",
138
+ "vnode"
139
]
140
},
141
{
@@ -170,6 +176,9 @@
176
"method": {
177
"ui:widget": "hidden"
178
},
179
+ "vnode": {
180
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
181
+ },
182
"timeout": {
183
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
184
},
src/go/plugin/go.d/collector/pihole/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/pihole/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/pika/collector.go
+1
@@ -41,6 +41,7 @@ func New() *Collector {
41
}
42
43
type Config struct {
44
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
45
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
46
Address string `yaml:"address" json:"address"`
47
Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
src/go/plugin/go.d/collector/pika/config_schema.json
+10
-1
@@ -24,6 +24,11 @@
24
"minimum": 0.5,
25
"default": 1
26
},
27
+ "vnode": {
28
+ "title": "Vnode",
29
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
30
+ "type": "string"
31
+ },
32
"tls_skip_verify": {
33
"title": "Skip TLS verification",
34
"description": "If set, TLS certificate verification will be skipped.",
@@ -59,6 +64,9 @@
64
"uiOptions": {
65
"fullPage": true
66
},
67
+ "vnode": {
68
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
69
+ },
70
"address": {
71
"ui:placeholder": "redis://user:password@host:port",
72
"ui:help": "Tcp connection: `redis://user:password@host:port`. Unix connection: `unix://user:password@/path/to/redis.sock`."
@@ -74,7 +82,8 @@
82
"fields": [
83
"update_every",
84
"address",
77
- "timeout"
85
+ "timeout",
86
+ "vnode"
87
]
88
},
89
{
src/go/plugin/go.d/collector/pika/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"address": "ok",
5
"timeout": 123.123,
src/go/plugin/go.d/collector/pika/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
address: "ok"
4
timeout: 123.123
src/go/plugin/go.d/collector/ping/collector.go
+1
@@ -44,6 +44,7 @@ func New() *Collector {
44
}
45
46
type Config struct {
47
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
48
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
49
Hosts []string `yaml:"hosts" json:"hosts"`
50
Network string `yaml:"network,omitempty" json:"network"`
src/go/plugin/go.d/collector/ping/config_schema.json
+8
@@ -61,6 +61,11 @@
61
"description": "The network device name (e.g., `eth0`, `wlan0`) used as the source for ICMP echo requests.",
62
"type": "string",
63
"default": ""
64
+ },
65
+ "vnode": {
66
+ "title": "Vnode",
67
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
68
+ "type": "string"
69
}
70
},
71
"required": [
@@ -74,6 +79,9 @@
79
"uiOptions": {
80
"fullPage": true
81
},
82
+ "vnode": {
83
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
84
+ },
85
"update_every": {
86
"ui:help": "Sets the frequency at which a specified number of ping packets (determined by 'packets') are sent to designated hosts."
87
},
src/go/plugin/go.d/collector/ping/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"hosts": [
5
"ok"
src/go/plugin/go.d/collector/ping/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
hosts:
4
- "ok"
src/go/plugin/go.d/collector/portcheck/collector.go
+1
@@ -46,6 +46,7 @@ func New() *Collector {
46
}
47
48
type Config struct {
49
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
50
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
51
Host string `yaml:"host" json:"host"`
52
Ports []int `yaml:"ports" json:"ports"`
src/go/plugin/go.d/collector/portcheck/config_schema.json
+10
-1
@@ -25,6 +25,11 @@
25
"type": "string",
26
"default": "127.0.0.1"
27
},
28
+ "vnode": {
29
+ "title": "Vnode",
30
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
31
+ "type": "string"
32
+ },
33
"ports": {
34
"title": "TCP ports",
35
"description": "A list of ports to monitor for TCP service availability and response time.",
@@ -70,7 +75,8 @@
75
"fields": [
76
"update_every",
77
"timeout",
73
- "host"
78
+ "host",
79
+ "vnode"
80
]
81
},
82
{
@@ -90,6 +96,9 @@
96
"uiOptions": {
97
"fullPage": true
98
},
99
+ "vnode": {
100
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
101
+ },
102
"timeout": {
103
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
104
},
src/go/plugin/go.d/collector/portcheck/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"host": "ok",
5
"ports": [
src/go/plugin/go.d/collector/portcheck/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
host: "ok"
4
ports:
src/go/plugin/go.d/collector/postgres/collector.go
+1
@@ -60,6 +60,7 @@ func New() *Collector {
60
}
61
62
type Config struct {
63
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
64
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
65
DSN string `yaml:"dsn" json:"dsn"`
66
Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
src/go/plugin/go.d/collector/postgres/config_schema.json
+10
-1
@@ -24,6 +24,11 @@
24
"minimum": 0.5,
25
"default": 2
26
},
27
+ "vnode": {
28
+ "title": "Vnode",
29
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
30
+ "type": "string"
31
+ },
32
"collect_databases_matching": {
33
"title": "Database selector",
34
"description": "Configuration for monitoring specific databases using [Netdata simple patterns](https://github.com/netdata/netdata/tree/master/src/libnetdata/simple_pattern#readme). If left empty, no database metrics will be collected.",
@@ -107,7 +112,8 @@
112
"fields": [
113
"update_every",
114
"dsn",
110
- "timeout"
115
+ "timeout",
116
+ "vnode"
117
]
118
},
119
{
@@ -127,6 +133,9 @@
133
}
134
]
135
},
136
+ "vnode": {
137
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
138
+ },
139
"dsn": {
140
"ui:placeholder": "postgres://username:password@host:port/dbname"
141
},
src/go/plugin/go.d/collector/postgres/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"dsn": "ok",
5
"timeout": 123.123,
src/go/plugin/go.d/collector/postgres/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
dsn: "ok"
4
timeout: 123.123
src/go/plugin/go.d/collector/powerdns/collector.go
+2
-1
@@ -42,7 +42,8 @@ func New() *Collector {
42
}
43
44
type Config struct {
45
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
45
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
46
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
47
web.HTTPConfig `yaml:",inline" json:""`
48
}
49
src/go/plugin/go.d/collector/powerdns/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,7 +124,8 @@
124
"update_every",
125
"url",
126
"timeout",
122
- "not_follow_redirects"
127
+ "not_follow_redirects",
128
+ "vnode"
129
]
130
},
131
{
@@ -163,6 +169,9 @@
169
"method": {
170
"ui:widget": "hidden"
171
},
172
+ "vnode": {
173
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
174
+ },
175
"timeout": {
176
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
177
},
src/go/plugin/go.d/collector/powerdns/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/powerdns/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/powerdns_recursor/collector.go
+2
-1
@@ -42,7 +42,8 @@ func New() *Collector {
42
}
43
44
type Config struct {
45
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
45
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
46
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
47
web.HTTPConfig `yaml:",inline" json:""`
48
}
49
src/go/plugin/go.d/collector/powerdns_recursor/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,7 +124,8 @@
124
"update_every",
125
"url",
126
"timeout",
122
- "not_follow_redirects"
127
+ "not_follow_redirects",
128
+ "vnode"
129
]
130
},
131
{
@@ -163,6 +169,9 @@
169
"method": {
170
"ui:widget": "hidden"
171
},
172
+ "vnode": {
173
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
174
+ },
175
"timeout": {
176
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
177
},
src/go/plugin/go.d/collector/powerdns_recursor/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/powerdns_recursor/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/prometheus/collector.go
+2
-1
@@ -48,7 +48,8 @@ func New() *Collector {
48
}
49
50
type Config struct {
51
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
51
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
52
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
53
web.HTTPConfig `yaml:",inline" json:""`
54
Name string `yaml:"name,omitempty" json:"name"`
55
Application string `yaml:"app,omitempty" json:"app"`
src/go/plugin/go.d/collector/prometheus/config_schema.json
+10
-1
@@ -44,6 +44,11 @@
44
"description": "If set, this value will be used in the chart context as 'prometheus.{app}.{metric_name}'.",
45
"type": "string"
46
},
47
+ "vnode": {
48
+ "title": "Vnode",
49
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
50
+ "type": "string"
51
+ },
52
"selector": {
53
"title": "Selectors",
54
"description": "Configuration for selecting and filtering a set of time series using Prometheus selectors. If left empty, no filtering is applied.",
@@ -229,7 +234,8 @@
234
"timeout",
235
"not_follow_redirects",
236
"expected_prefix",
232
- "app"
237
+ "app",
238
+ "vnode"
239
]
240
},
241
{
@@ -284,6 +290,9 @@
290
}
291
]
292
},
293
+ "vnode": {
294
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
295
+ },
296
"url": {
297
"ui:placeholder": "http://203.0.113.0"
298
},
src/go/plugin/go.d/collector/prometheus/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/prometheus/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/proxysql/collector.go
+1
@@ -45,6 +45,7 @@ func New() *Collector {
45
}
46
47
type Config struct {
48
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
49
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
50
DSN string `yaml:"dsn" json:"dsn"`
51
Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
src/go/plugin/go.d/collector/proxysql/config_schema.json
+8
@@ -23,6 +23,11 @@
23
"type": "number",
24
"minimum": 0.5,
25
"default": 1
26
+ },
27
+ "vnode": {
28
+ "title": "Vnode",
29
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
30
+ "type": "string"
31
}
32
},
33
"required": [
@@ -36,6 +41,9 @@
41
"uiOptions": {
42
"fullPage": true
43
},
44
+ "vnode": {
45
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
46
+ },
47
"dsn": {
48
"ui:placeholder": "username:password@protocol(address)/dbname"
49
},
src/go/plugin/go.d/collector/proxysql/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"dsn": "ok",
5
"timeout": 123.123
src/go/plugin/go.d/collector/proxysql/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
dsn: "ok"
4
timeout: 123.123
src/go/plugin/go.d/collector/pulsar/collector.go
+2
-1
@@ -57,7 +57,8 @@ func New() *Collector {
57
}
58
59
type Config struct {
60
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
60
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
61
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
62
web.HTTPConfig `yaml:",inline" json:""`
63
TopicFilter matcher.SimpleExpr `yaml:"topic_filter,omitempty" json:"topic_filter"`
64
}
src/go/plugin/go.d/collector/pulsar/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,7 +124,8 @@
124
"update_every",
125
"url",
126
"timeout",
122
- "not_follow_redirects"
127
+ "not_follow_redirects",
128
+ "vnode"
129
]
130
},
131
{
@@ -163,6 +169,9 @@
169
"method": {
170
"ui:widget": "hidden"
171
},
172
+ "vnode": {
173
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
174
+ },
175
"timeout": {
176
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
177
},
src/go/plugin/go.d/collector/pulsar/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/pulsar/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/puppet/collector.go
+2
-1
@@ -43,7 +43,8 @@ func New() *Collector {
43
}
44
45
type Config struct {
46
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
46
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
47
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
48
web.HTTPConfig `yaml:",inline" json:""`
49
}
50
src/go/plugin/go.d/collector/puppet/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,6 +124,9 @@
124
"method": {
125
"ui:widget": "hidden"
126
},
127
+ "vnode": {
128
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
129
+ },
130
"timeout": {
131
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
132
},
@@ -137,7 +145,8 @@
145
"update_every",
146
"url",
147
"timeout",
140
- "not_follow_redirects"
148
+ "not_follow_redirects",
149
+ "vnode"
150
]
151
},
152
{
src/go/plugin/go.d/collector/puppet/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/puppet/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/rabbitmq/collector.go
+2
-1
@@ -48,7 +48,8 @@ func New() *Collector {
48
}
49
50
type Config struct {
51
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
51
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
52
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
53
web.HTTPConfig `yaml:",inline" json:""`
54
CollectQueues bool `yaml:"collect_queues_metrics" json:"collect_queues_metrics"`
55
}
src/go/plugin/go.d/collector/rabbitmq/config_schema.json
+10
-1
@@ -36,6 +36,11 @@
36
"type": "boolean",
37
"default": false
38
},
39
+ "vnode": {
40
+ "title": "Vnode",
41
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
42
+ "type": "string"
43
+ },
44
"username": {
45
"title": "Username",
46
"description": "The username for basic authentication.",
@@ -128,7 +133,8 @@
133
"url",
134
"timeout",
135
"not_follow_redirects",
131
- "collect_queues_metrics"
136
+ "collect_queues_metrics",
137
+ "vnode"
138
]
139
},
140
{
@@ -172,6 +178,9 @@
178
"method": {
179
"ui:widget": "hidden"
180
},
181
+ "vnode": {
182
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
183
+ },
184
"timeout": {
185
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
186
},
src/go/plugin/go.d/collector/rabbitmq/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/rabbitmq/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/redis/collector.go
+1
@@ -47,6 +47,7 @@ func New() *Collector {
47
}
48
49
type Config struct {
50
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
51
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
52
Address string `yaml:"address" json:"address"`
53
Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
src/go/plugin/go.d/collector/redis/config_schema.json
+10
-1
@@ -31,6 +31,11 @@
31
"minimum": 1,
32
"default": 5
33
},
34
+ "vnode": {
35
+ "title": "Vnode",
36
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
37
+ "type": "string"
38
+ },
39
"username": {
40
"title": "Username",
41
"description": "The username for authentication.",
@@ -75,6 +80,9 @@
80
"uiOptions": {
81
"fullPage": true
82
},
83
+ "vnode": {
84
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
85
+ },
86
"address": {
87
"ui:placeholder": "redis://user:password@host:port",
88
"ui:help": "Tcp connection: `redis://user:password@host:port`. Unix connection: `unix://user:password@/path/to/redis.sock`."
@@ -97,7 +105,8 @@
105
"update_every",
106
"address",
107
"timeout",
100
- "ping_samples"
108
+ "ping_samples",
109
+ "vnode"
110
]
111
},
112
{
src/go/plugin/go.d/collector/redis/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"address": "ok",
5
"timeout": 123.123,
src/go/plugin/go.d/collector/redis/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
address: "ok"
4
timeout: 123.123
src/go/plugin/go.d/collector/rethinkdb/collector.go
+1
@@ -37,6 +37,7 @@ func New() *Collector {
37
}
38
39
type Config struct {
40
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
41
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
42
Address string `yaml:"address" json:"address"`
43
Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
src/go/plugin/go.d/collector/rethinkdb/config_schema.json
+10
-1
@@ -24,6 +24,11 @@
24
"minimum": 0.5,
25
"default": 1
26
},
27
+ "vnode": {
28
+ "title": "Vnode",
29
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
30
+ "type": "string"
31
+ },
32
"username": {
33
"title": "Username",
34
"description": "The username for basic authentication.",
@@ -48,6 +53,9 @@
53
"uiOptions": {
54
"fullPage": true
55
},
56
+ "vnode": {
57
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
58
+ },
59
"timeout": {
60
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
61
},
@@ -65,7 +73,8 @@
73
"fields": [
74
"update_every",
75
"address",
68
- "timeout"
76
+ "timeout",
77
+ "vnode"
78
]
79
},
80
{
src/go/plugin/go.d/collector/rethinkdb/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"address": "ok",
5
"timeout": 123.123,
src/go/plugin/go.d/collector/rethinkdb/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
address: "ok"
4
timeout: 123.123
src/go/plugin/go.d/collector/riakkv/collector.go
+2
-1
@@ -52,7 +52,8 @@ func New() *Collector {
52
}
53
54
type Config struct {
55
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
55
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
56
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
57
web.HTTPConfig `yaml:",inline" json:""`
58
}
59
src/go/plugin/go.d/collector/riakkv/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,6 +124,9 @@
124
"method": {
125
"ui:widget": "hidden"
126
},
127
+ "vnode": {
128
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
129
+ },
130
"update_every": {
131
"ui:help": "Riak updates metrics on the `/stats` endpoint every second. To ensure accurate data representation, a polling interval of 2 seconds or more is suggested."
132
},
@@ -146,7 +154,8 @@
154
"update_every",
155
"url",
156
"timeout",
149
- "not_follow_redirects"
157
+ "not_follow_redirects",
158
+ "vnode"
159
]
160
},
161
{
src/go/plugin/go.d/collector/riakkv/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/riakkv/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/rspamd/collector.go
+2
-1
@@ -43,7 +43,8 @@ func New() *Collector {
43
}
44
45
type Config struct {
46
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
46
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
47
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
48
web.HTTPConfig `yaml:",inline" json:""`
49
}
50
src/go/plugin/go.d/collector/rspamd/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,6 +124,9 @@
124
"method": {
125
"ui:widget": "hidden"
126
},
127
+ "vnode": {
128
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
129
+ },
130
"timeout": {
131
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
132
},
@@ -143,7 +151,8 @@
151
"update_every",
152
"url",
153
"timeout",
146
- "not_follow_redirects"
154
+ "not_follow_redirects",
155
+ "vnode"
156
]
157
},
158
{
src/go/plugin/go.d/collector/rspamd/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/rspamd/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/scaleio/collector.go
+2
-1
@@ -44,7 +44,8 @@ func New() *Collector {
44
}
45
46
type Config struct {
47
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
47
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
48
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
49
web.HTTPConfig `yaml:",inline" json:""`
50
}
51
src/go/plugin/go.d/collector/scaleio/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,7 +124,8 @@
124
"update_every",
125
"url",
126
"timeout",
122
- "not_follow_redirects"
127
+ "not_follow_redirects",
128
+ "vnode"
129
]
130
},
131
{
@@ -163,6 +169,9 @@
169
"method": {
170
"ui:widget": "hidden"
171
},
172
+ "vnode": {
173
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
174
+ },
175
"timeout": {
176
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
177
},
src/go/plugin/go.d/collector/scaleio/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/scaleio/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/spigotmc/collector.go
+1
@@ -35,6 +35,7 @@ func New() *Collector {
35
}
36
37
type Config struct {
38
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
39
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
40
Address string `yaml:"address" json:"address"`
41
Password string `yaml:"password" json:"password"`
src/go/plugin/go.d/collector/spigotmc/config_schema.json
+8
@@ -29,6 +29,11 @@
29
"type": "number",
30
"minimum": 0.5,
31
"default": 1
32
+ },
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
}
38
},
39
"required": [
@@ -42,6 +47,9 @@
47
"uiOptions": {
48
"fullPage": true
49
},
50
+ "vnode": {
51
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
52
+ },
53
"password": {
54
"ui:widget": "password"
55
},
src/go/plugin/go.d/collector/spigotmc/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"address": "ok",
5
"password": "ok",
src/go/plugin/go.d/collector/spigotmc/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
address: "ok"
4
password: "ok"
src/go/plugin/go.d/collector/squid/collector.go
+2
-1
@@ -43,7 +43,8 @@ func New() *Collector {
43
}
44
45
type Config struct {
46
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
46
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
47
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
48
web.HTTPConfig `yaml:",inline" json:""`
49
}
50
src/go/plugin/go.d/collector/squid/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,6 +124,9 @@
124
"method": {
125
"ui:widget": "hidden"
126
},
127
+ "vnode": {
128
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
129
+ },
130
"timeout": {
131
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
132
},
@@ -137,7 +145,8 @@
145
"update_every",
146
"url",
147
"timeout",
140
- "not_follow_redirects"
148
+ "not_follow_redirects",
149
+ "vnode"
150
]
151
},
152
{
src/go/plugin/go.d/collector/squid/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/squid/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/supervisord/collector.go
+1
@@ -40,6 +40,7 @@ func New() *Collector {
40
}
41
42
type Config struct {
43
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
44
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
45
URL string `yaml:"url" json:"url"`
46
web.ClientConfig `yaml:",inline" json:""`
src/go/plugin/go.d/collector/supervisord/config_schema.json
+10
-1
@@ -25,6 +25,11 @@
25
"minimum": 0.5,
26
"default": 1
27
},
28
+ "vnode": {
29
+ "title": "Vnode",
30
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
31
+ "type": "string"
32
+ },
33
"tls_skip_verify": {
34
"title": "Skip TLS verification",
35
"description": "If set, TLS certificate verification will be skipped.",
@@ -57,6 +62,9 @@
62
"uiOptions": {
63
"fullPage": true
64
},
65
+ "vnode": {
66
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
67
+ },
68
"timeout": {
69
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
70
},
@@ -68,7 +76,8 @@
76
"fields": [
77
"update_every",
78
"url",
71
- "timeout"
79
+ "timeout",
80
+ "vnode"
81
]
82
},
83
{
src/go/plugin/go.d/collector/supervisord/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"timeout": 123.123,
src/go/plugin/go.d/collector/supervisord/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
timeout: 123.123
src/go/plugin/go.d/collector/tengine/collector.go
+2
-1
@@ -43,7 +43,8 @@ func New() *Collector {
43
}
44
45
type Config struct {
46
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
46
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
47
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
48
web.HTTPConfig `yaml:",inline" json:""`
49
}
50
src/go/plugin/go.d/collector/tengine/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,7 +124,8 @@
124
"update_every",
125
"url",
126
"timeout",
122
- "not_follow_redirects"
127
+ "not_follow_redirects",
128
+ "vnode"
129
]
130
},
131
{
@@ -163,6 +169,9 @@
169
"method": {
170
"ui:widget": "hidden"
171
},
172
+ "vnode": {
173
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
174
+ },
175
"timeout": {
176
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
177
},
src/go/plugin/go.d/collector/tengine/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/tengine/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/tomcat/collector.go
+2
-1
@@ -45,7 +45,8 @@ func New() *Collector {
45
}
46
47
type Config struct {
48
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
48
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
49
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
50
web.HTTPConfig `yaml:",inline" json:""`
51
}
52
src/go/plugin/go.d/collector/tomcat/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,6 +124,9 @@
124
"method": {
125
"ui:widget": "hidden"
126
},
127
+ "vnode": {
128
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
129
+ },
130
"timeout": {
131
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
132
},
@@ -143,7 +151,8 @@
151
"update_every",
152
"url",
153
"timeout",
146
- "not_follow_redirects"
154
+ "not_follow_redirects",
155
+ "vnode"
156
]
157
},
158
{
src/go/plugin/go.d/collector/tomcat/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/tomcat/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/tor/collector.go
+1
@@ -35,6 +35,7 @@ func New() *Collector {
35
}
36
37
type Config struct {
38
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
39
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
40
Address string `yaml:"address" json:"address"`
41
Timeout confopt.Duration `yaml:"timeout" json:"timeout"`
src/go/plugin/go.d/collector/tor/config_schema.json
+8
@@ -29,6 +29,11 @@
29
"description": "The password for authentication.",
30
"type": "string",
31
"sensitive": true
32
+ },
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
}
38
},
39
"required": [
@@ -42,6 +47,9 @@
47
"uiOptions": {
48
"fullPage": true
49
},
50
+ "vnode": {
51
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
52
+ },
53
"timeout": {
54
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
55
},
src/go/plugin/go.d/collector/tor/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"address": "ok",
5
"timeout": 123.123,
src/go/plugin/go.d/collector/tor/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
address: "ok"
4
timeout: 123.123
src/go/plugin/go.d/collector/traefik/collector.go
+2
-1
@@ -48,7 +48,8 @@ func New() *Collector {
48
}
49
50
type Config struct {
51
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
51
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
52
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
53
web.HTTPConfig `yaml:",inline" json:""`
54
}
55
src/go/plugin/go.d/collector/traefik/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,7 +124,8 @@
124
"update_every",
125
"url",
126
"timeout",
122
- "not_follow_redirects"
127
+ "not_follow_redirects",
128
+ "vnode"
129
]
130
},
131
{
@@ -163,6 +169,9 @@
169
"method": {
170
"ui:widget": "hidden"
171
},
172
+ "vnode": {
173
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
174
+ },
175
"timeout": {
176
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
177
},
src/go/plugin/go.d/collector/traefik/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/traefik/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/typesense/collector.go
+2
-1
@@ -45,7 +45,8 @@ func New() *Collector {
45
}
46
47
type Config struct {
48
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
48
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
49
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
50
web.HTTPConfig `yaml:",inline" json:""`
51
APIKey string `yaml:"api_key,omitempty" json:"api_key"`
52
}
src/go/plugin/go.d/collector/typesense/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"api_key": {
39
"title": "API Key",
40
"description": "The Typesense [API Key](https://typesense.org/docs/0.20.0/api/api-keys.html#api-keys) (`X-TYPESENSE-API-KEY`).",
@@ -125,6 +130,9 @@
130
"method": {
131
"ui:widget": "hidden"
132
},
133
+ "vnode": {
134
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
135
+ },
136
"timeout": {
137
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
138
},
@@ -152,7 +160,8 @@
160
"update_every",
161
"url",
162
"timeout",
155
- "not_follow_redirects"
163
+ "not_follow_redirects",
164
+ "vnode"
165
]
166
},
167
{
src/go/plugin/go.d/collector/typesense/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"api_key": "ok",
src/go/plugin/go.d/collector/typesense/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
api_key: "ok"
src/go/plugin/go.d/collector/unbound/collector.go
+1
@@ -46,6 +46,7 @@ func New() *Collector {
46
}
47
48
type Config struct {
49
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
50
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
51
Address string `yaml:"address" json:"address"`
52
ConfPath string `yaml:"conf_path,omitempty" json:"conf_path"`
src/go/plugin/go.d/collector/unbound/config_schema.json
+10
-1
@@ -36,6 +36,11 @@
36
"type": "boolean",
37
"default": false
38
},
39
+ "vnode": {
40
+ "title": "Vnode",
41
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
42
+ "type": "string"
43
+ },
44
"use_tls": {
45
"title": "Use TLS",
46
"description": "Indicates whether TLS should be used for secure communication.",
@@ -80,6 +85,9 @@
85
"uiOptions": {
86
"fullPage": true
87
},
88
+ "vnode": {
89
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
90
+ },
91
"timeout": {
92
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
93
},
@@ -93,7 +101,8 @@
101
"address",
102
"timeout",
103
"conf_path",
96
- "cumulative_stats"
104
+ "cumulative_stats",
105
+ "vnode"
106
]
107
},
108
{
src/go/plugin/go.d/collector/unbound/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"address": "ok",
5
"conf_path": "ok",
src/go/plugin/go.d/collector/unbound/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
address: "ok"
4
conf_path: "ok"
src/go/plugin/go.d/collector/upsd/collector.go
+1
@@ -36,6 +36,7 @@ func New() *Collector {
36
}
37
38
type Config struct {
39
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
40
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
41
Address string `yaml:"address" json:"address"`
42
Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
src/go/plugin/go.d/collector/upsd/config_schema.json
+10
-1
@@ -24,6 +24,11 @@
24
"minimum": 0.5,
25
"default": 1
26
},
27
+ "vnode": {
28
+ "title": "Vnode",
29
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
30
+ "type": "string"
31
+ },
32
"username": {
33
"title": "Username",
34
"description": "The username for authentication.",
@@ -54,6 +59,9 @@
59
"uiOptions": {
60
"fullPage": true
61
},
62
+ "vnode": {
63
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
64
+ },
65
"timeout": {
66
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
67
},
@@ -68,7 +76,8 @@
76
"fields": [
77
"update_every",
78
"address",
71
- "timeout"
79
+ "timeout",
80
+ "vnode"
81
]
82
},
83
{
src/go/plugin/go.d/collector/upsd/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"address": "ok",
5
"username": "ok",
src/go/plugin/go.d/collector/upsd/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
address: "ok"
4
username: "ok"
src/go/plugin/go.d/collector/uwsgi/collector.go
+1
@@ -35,6 +35,7 @@ func New() *Collector {
35
}
36
37
type Config struct {
38
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
39
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
40
Address string `yaml:"address" json:"address"`
41
Timeout confopt.Duration `yaml:"timeout" json:"timeout"`
src/go/plugin/go.d/collector/uwsgi/config_schema.json
+8
@@ -23,6 +23,11 @@
23
"type": "number",
24
"minimum": 0.5,
25
"default": 1
26
+ },
27
+ "vnode": {
28
+ "title": "Vnode",
29
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
30
+ "type": "string"
31
}
32
},
33
"required": [
@@ -36,6 +41,9 @@
41
"uiOptions": {
42
"fullPage": true
43
},
44
+ "vnode": {
45
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
46
+ },
47
"timeout": {
48
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
49
}
src/go/plugin/go.d/collector/uwsgi/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"address": "ok",
5
"timeout": 123.123
src/go/plugin/go.d/collector/uwsgi/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
address: "ok"
4
timeout: 123.123
src/go/plugin/go.d/collector/vcsa/collector.go
+2
-1
@@ -42,7 +42,8 @@ func New() *Collector {
42
}
43
44
type Config struct {
45
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
45
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
46
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
47
web.HTTPConfig `yaml:",inline" json:""`
48
}
49
src/go/plugin/go.d/collector/vcsa/config_schema.json
+10
-1
@@ -29,6 +29,11 @@
29
"description": "If set, the client will not follow HTTP redirects automatically.",
30
"type": "boolean"
31
},
32
+ "vnode": {
33
+ "title": "Vnode",
34
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
35
+ "type": "string"
36
+ },
37
"username": {
38
"title": "Username",
39
"description": "The username for basic authentication.",
@@ -118,7 +123,8 @@
123
"update_every",
124
"url",
125
"timeout",
121
- "not_follow_redirects"
126
+ "not_follow_redirects",
127
+ "vnode"
128
]
129
},
130
{
@@ -162,6 +168,9 @@
168
"method": {
169
"ui:widget": "hidden"
170
},
171
+ "vnode": {
172
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
173
+ },
174
"url": {
175
"ui:placeholder": "https://203.0.113.0"
176
},
src/go/plugin/go.d/collector/vcsa/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/vcsa/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/vernemq/collector.go
+2
-1
@@ -44,7 +44,8 @@ func New() *Collector {
44
}
45
46
type Config struct {
47
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
47
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
48
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
49
web.HTTPConfig `yaml:",inline" json:""`
50
}
51
src/go/plugin/go.d/collector/vernemq/config_schema.json
+10
-1
@@ -30,6 +30,11 @@
30
"description": "If set, the client will not follow HTTP redirects automatically.",
31
"type": "boolean"
32
},
33
+ "vnode": {
34
+ "title": "Vnode",
35
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
36
+ "type": "string"
37
+ },
38
"username": {
39
"title": "Username",
40
"description": "The username for basic authentication.",
@@ -119,7 +124,8 @@
124
"update_every",
125
"url",
126
"timeout",
122
- "not_follow_redirects"
127
+ "not_follow_redirects",
128
+ "vnode"
129
]
130
},
131
{
@@ -163,6 +169,9 @@
169
"method": {
170
"ui:widget": "hidden"
171
},
172
+ "vnode": {
173
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
174
+ },
175
"timeout": {
176
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
177
},
src/go/plugin/go.d/collector/vernemq/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/vernemq/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/vsphere/collector.go
+2
-1
@@ -53,7 +53,8 @@ func New() *Collector {
53
}
54
55
type Config struct {
56
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
56
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
57
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
58
web.HTTPConfig `yaml:",inline" json:""`
59
DiscoveryInterval confopt.Duration `yaml:"discovery_interval,omitempty" json:"discovery_interval"`
60
HostsInclude match.HostIncludes `yaml:"host_include,omitempty" json:"host_include"`
src/go/plugin/go.d/collector/vsphere/config_schema.json
+10
-1
@@ -36,6 +36,11 @@
36
"description": "If set, the client will not follow HTTP redirects automatically.",
37
"type": "boolean"
38
},
39
+ "vnode": {
40
+ "title": "Vnode",
41
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
42
+ "type": "string"
43
+ },
44
"host_include": {
45
"title": "Host selectors",
46
"description": "Configuration for monitoring specific hosts. The selector format follows the pattern `/Datacenter/Cluster/Host`, where each value can be set using [Netdata simple patterns](https://github.com/netdata/netdata/tree/master/src/libnetdata/simple_pattern#readme).",
@@ -171,7 +176,8 @@
176
"url",
177
"timeout",
178
"discovery_interval",
174
- "not_follow_redirects"
179
+ "not_follow_redirects",
180
+ "vnode"
181
]
182
},
183
{
@@ -219,6 +225,9 @@
225
"method": {
226
"ui:widget": "hidden"
227
},
228
+ "vnode": {
229
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
230
+ },
231
"update_every": {
232
"ui:help": "**Important**: vSphere generates real-time statistics every 20 seconds. Setting this value lower won't improve data accuracy. For larger vSphere deployments, consider increasing this value to ensure complete data collection during each cycle. To find the optimal value, run the collector in debug mode and see how long it takes to collect metrics."
233
},
src/go/plugin/go.d/collector/vsphere/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"url": "ok",
5
"body": "ok",
src/go/plugin/go.d/collector/vsphere/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
url: "ok"
4
body: "ok"
src/go/plugin/go.d/collector/whoisquery/collector.go
+1
@@ -38,6 +38,7 @@ func New() *Collector {
38
}
39
40
type Config struct {
41
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
42
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
43
Source string `yaml:"source" json:"source"`
44
Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
src/go/plugin/go.d/collector/whoisquery/config_schema.json
+8
@@ -36,6 +36,11 @@
36
"type": "integer",
37
"minimum": 1,
38
"default": 15
39
+ },
40
+ "vnode": {
41
+ "title": "Vnode",
42
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
43
+ "type": "string"
44
}
45
},
46
"required": [
@@ -49,6 +54,9 @@
54
"uiOptions": {
55
"fullPage": true
56
},
57
+ "vnode": {
58
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
59
+ },
60
"source": {
61
"ui:placeholder": "example.com"
62
},
src/go/plugin/go.d/collector/whoisquery/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"source": "ok",
5
"timeout": 123.123,
src/go/plugin/go.d/collector/whoisquery/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
source: "ok"
4
timeout: 123.123
src/go/plugin/go.d/collector/windows/config_schema.json
+4
-1
@@ -30,7 +30,7 @@
30
},
31
"vnode": {
32
"title": "Vnode",
33
- "description": "The hostname of the [virtual node](https://github.com/netdata/netdata/blob/master/docs/guides/using-host-labels.md#virtual-nodes) defined in the vnodes.conf configuration file.",
33
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
34
"type": "string"
35
},
36
"username": {
@@ -167,6 +167,9 @@
167
"method": {
168
"ui:widget": "hidden"
169
},
170
+ "vnode": {
171
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
172
+ },
173
"url": {
174
"ui:placeholder": "http://203.0.113.0:9182/metrics"
175
},
src/go/plugin/go.d/collector/x509check/collector.go
+1
@@ -44,6 +44,7 @@ func New() *Collector {
44
}
45
46
type Config struct {
47
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
48
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
49
Source string `yaml:"source" json:"source"`
50
Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
src/go/plugin/go.d/collector/x509check/config_schema.json
+10
-1
@@ -33,6 +33,11 @@
33
"description": "Whether to check the revocation status of the certificate.",
34
"type": "boolean"
35
},
36
+ "vnode": {
37
+ "title": "Vnode",
38
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
39
+ "type": "string"
40
+ },
41
"tls_skip_verify": {
42
"title": "Skip TLS verification",
43
"description": "If set, TLS certificate verification will be skipped.",
@@ -68,6 +73,9 @@
73
"uiOptions": {
74
"fullPage": true
75
},
76
+ "vnode": {
77
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
78
+ },
79
"source": {
80
"ui:placeholder": "https://example.com:443",
81
"ui:help": " Website: `https://domainName:443`. Local file: `file:///path/to/cert.pem`. SMTP: `smtp://smtp.example.com:587`."
@@ -85,7 +93,8 @@
93
"source",
94
"timeout",
95
"check_full_chain",
88
- "check_revocation_status"
96
+ "check_revocation_status",
97
+ "vnode"
98
]
99
},
100
{
src/go/plugin/go.d/collector/x509check/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"source": "ok",
5
"timeout": 123.123,
src/go/plugin/go.d/collector/x509check/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
source: "ok"
4
timeout: 123.123
src/go/plugin/go.d/collector/zookeeper/collector.go
+1
@@ -35,6 +35,7 @@ func New() *Collector {
35
}
36
37
type Config struct {
38
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
39
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
40
Address string `yaml:"address" json:"address"`
41
Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
src/go/plugin/go.d/collector/zookeeper/config_schema.json
+10
-1
@@ -24,6 +24,11 @@
24
"minimum": 0.5,
25
"default": 1
26
},
27
+ "vnode": {
28
+ "title": "Vnode",
29
+ "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
30
+ "type": "string"
31
+ },
32
"use_tls": {
33
"title": "Use TLS",
34
"description": "Indicates whether TLS should be used for secure communication.",
@@ -64,6 +69,9 @@
69
"uiOptions": {
70
"fullPage": true
71
},
72
+ "vnode": {
73
+ "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
74
+ },
75
"timeout": {
76
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
77
},
@@ -75,7 +83,8 @@
83
"fields": [
84
"update_every",
85
"address",
78
- "timeout"
86
+ "timeout",
87
+ "vnode"
88
]
89
},
90
{
src/go/plugin/go.d/collector/zookeeper/testdata/config.json
+1
@@ -1,4 +1,5 @@
1
{
2
+ "vnode": "ok",
3
"update_every": 123,
4
"address": "ok",
5
"timeout": 123.123,
src/go/plugin/go.d/collector/zookeeper/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
+vnode: "ok"
2
update_every: 123
3
address: "ok"
4
timeout: 123.123