feat(go.d/dyncfg): add autodetect_retry to dyncfg jobs (#20357)
Ilya Mashchenko committed
May 27, 2025 at 21:50 UTC
2897d1a135e1eb5068d3e377f96c17df982972ec
335 files changed
+1517
-358
src/go/plugin/go.d/agent/jobmgr/dyncfg_collector.go
+31
-19
@@ -14,12 +14,13 @@ import (
14
"time"
15
"unicode"
16
17
+ "gopkg.in/yaml.v2"
18
+
19
"github.com/netdata/netdata/go/plugins/logger"
20
"github.com/netdata/netdata/go/plugins/pkg/netdataapi"
21
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/confgroup"
22
"github.com/netdata/netdata/go/plugins/plugin/go.d/agent/functions"
21
-
22
- "gopkg.in/yaml.v2"
23
+ "github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
24
)
25
26
const (
@@ -353,6 +354,8 @@ func (m *Manager) dyncfgConfigRestart(fn functions.Function) {
354
default:
355
}
356
357
+ m.retryingTasks.remove(ecfg.cfg)
358
+
359
m.Infof("dyncfg: restart: %s/%s job by user '%s'", mn, jn, getFnSourceValue(fn, "user"))
360
361
if err := job.AutoDetection(); err != nil {
@@ -360,6 +363,7 @@ func (m *Manager) dyncfgConfigRestart(fn functions.Function) {
363
ecfg.status = dyncfgFailed
364
m.dyncfgRespf(fn, 422, "Job restart failed: %v", err)
365
m.dyncfgJobStatus(ecfg.cfg, ecfg.status)
366
+ m.runRetryTask(ecfg, job)
367
return
368
}
369
@@ -420,6 +424,8 @@ func (m *Manager) dyncfgConfigEnable(fn functions.Function) {
424
m.Infof("dyncfg: enable: %s/%s job by user '%s'", mn, jn, getFnSourceValue(fn, "user"))
425
}
426
427
+ m.retryingTasks.remove(ecfg.cfg)
428
+
429
if err := job.AutoDetection(); err != nil {
430
job.Cleanup()
431
ecfg.status = dyncfgFailed
@@ -432,14 +438,7 @@ func (m *Manager) dyncfgConfigEnable(fn functions.Function) {
438
m.dyncfgJobStatus(ecfg.cfg, ecfg.status)
439
}
440
435
- if job.RetryAutoDetection() && !isDyncfg(ecfg.cfg) {
436
- m.Infof("%s[%s] job detection failed, will retry in %d seconds",
437
- ecfg.cfg.Module(), ecfg.cfg.Name(), job.AutoDetectionEvery())
438
-
439
- ctx, cancel := context.WithCancel(m.ctx)
440
- m.retryingTasks.add(ecfg.cfg, &retryTask{cancel: cancel})
441
- go runRetryTask(ctx, m.addCh, ecfg.cfg)
442
- }
441
+ m.runRetryTask(ecfg, job)
442
return
443
}
444
@@ -488,6 +487,8 @@ func (m *Manager) dyncfgConfigDisable(fn functions.Function) {
487
default:
488
}
489
490
+ m.retryingTasks.remove(ecfg.cfg)
491
+
492
m.Infof("dyncfg: disable: %s/%s job by user '%s'", mn, jn, getFnSourceValue(fn, "user"))
493
494
ecfg.status = dyncfgDisabled
@@ -545,6 +546,7 @@ func (m *Manager) dyncfgConfigAdd(fn functions.Function) {
546
m.seenConfigs.remove(ecfg.cfg)
547
}
548
m.exposedConfigs.remove(ecfg.cfg)
549
+ m.retryingTasks.remove(ecfg.cfg)
550
m.stopRunningJob(ecfg.cfg.FullName())
551
}
552
@@ -581,6 +583,7 @@ func (m *Manager) dyncfgConfigRemove(fn functions.Function) {
583
584
m.Infof("dyncfg: remove: %s/%s job by user '%s'", mn, jn, getFnSourceValue(fn, "user"))
585
586
+ m.retryingTasks.remove(ecfg.cfg)
587
m.seenConfigs.remove(ecfg.cfg)
588
m.exposedConfigs.remove(ecfg.cfg)
589
m.stopRunningJob(ecfg.cfg.FullName())
@@ -660,11 +663,14 @@ func (m *Manager) dyncfgConfigUpdate(fn functions.Function) {
663
return
664
}
665
666
+ m.retryingTasks.remove(ecfg.cfg)
667
+
668
if err := job.AutoDetection(); err != nil {
669
job.Cleanup()
670
scfg.status = dyncfgFailed
671
m.dyncfgRespf(fn, 200, "Job update failed: %v", err)
672
m.dyncfgJobStatus(scfg.cfg, scfg.status)
673
+ m.runRetryTask(scfg, job)
674
return
675
}
676
@@ -723,6 +729,19 @@ func (m *Manager) dyncfgRespf(fn functions.Function, code int, msgf string, a ..
729
})
730
}
731
732
+func (m *Manager) runRetryTask(ecfg *seenConfig, job *module.Job) {
733
+ if !job.RetryAutoDetection() {
734
+ return
735
+ }
736
+ m.Infof("%s[%s] job detection failed, will retry in %d seconds",
737
+ ecfg.cfg.Module(), ecfg.cfg.Name(), job.AutoDetectionEvery())
738
+
739
+ ctx, cancel := context.WithCancel(m.ctx)
740
+ m.retryingTasks.add(ecfg.cfg, &retryTask{cancel: cancel})
741
+
742
+ go runRetryTask(ctx, m.addCh, ecfg.cfg)
743
+}
744
+
745
func userConfigFromPayload(cfg any, jobName string, fn functions.Function) ([]byte, error) {
746
if err := unmarshalPayload(cfg, fn); err != nil {
747
return nil, err
@@ -738,9 +757,7 @@ func userConfigFromPayload(cfg any, jobName string, fn functions.Function) ([]by
757
return nil, err
758
}
759
741
- yms = slices.DeleteFunc(yms, func(item yaml.MapItem) bool {
742
- return item.Key == "name"
743
- })
760
+ yms = slices.DeleteFunc(yms, func(item yaml.MapItem) bool { return item.Key == "name" })
761
762
yms = append([]yaml.MapItem{{Key: "name", Value: jobName}}, yms...)
763
@@ -748,12 +765,7 @@ func userConfigFromPayload(cfg any, jobName string, fn functions.Function) ([]by
765
"jobs": []any{yms},
766
}
767
751
- bs, err = yaml.Marshal(v)
752
- if err != nil {
753
- return nil, err
754
- }
755
-
756
- return bs, nil
768
+ return yaml.Marshal(v)
769
}
770
771
func configFromPayload(fn functions.Function) (confgroup.Config, error) {
src/go/plugin/go.d/agent/jobmgr/manager.go
-1
@@ -189,7 +189,6 @@ func (m *Manager) addConfig(cfg confgroup.Config) {
189
} else {
190
sp, ep := scfg.cfg.SourceTypePriority(), ecfg.cfg.SourceTypePriority()
191
if ep > sp || (ep == sp && ecfg.status == dyncfgRunning) {
192
- m.retryingTasks.remove(cfg)
192
return
193
}
194
if ecfg.status == dyncfgRunning {
src/go/plugin/go.d/collector/activemq/collector.go
+9
-8
@@ -48,14 +48,15 @@ func New() *Collector {
48
}
49
50
type Config struct {
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"`
56
- MaxTopics int `yaml:"max_topics" json:"max_topics"`
57
- QueuesFilter string `yaml:"queues_filter,omitempty" json:"queues_filter"`
58
- TopicsFilter string `yaml:"topics_filter,omitempty" json:"topics_filter"`
51
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
52
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
53
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
54
+ web.HTTPConfig `yaml:",inline" json:""`
55
+ Webadmin string `yaml:"webadmin,omitempty" json:"webadmin"`
56
+ MaxQueues int `yaml:"max_queues" json:"max_queues"`
57
+ MaxTopics int `yaml:"max_topics" json:"max_topics"`
58
+ QueuesFilter string `yaml:"queues_filter,omitempty" json:"queues_filter"`
59
+ TopicsFilter string `yaml:"topics_filter,omitempty" json:"topics_filter"`
60
}
61
62
type Collector struct {
src/go/plugin/go.d/collector/activemq/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The base URL of the ActiveMQ [Web Console](https://activemq.apache.org/components/classic/documentation/web-console).",
@@ -157,6 +164,7 @@
164
"title": "Base",
165
"fields": [
166
"update_every",
167
+ "autodetection_retry",
168
"url",
169
"webadmin",
170
"timeout",
@@ -214,6 +222,9 @@
222
"method": {
223
"ui:widget": "hidden"
224
},
225
+ "autodetection_retry": {
226
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
227
+ },
228
"vnode": {
229
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
230
},
src/go/plugin/go.d/collector/activemq/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"webadmin": "ok",
6
"max_queues": 123,
7
"max_topics": 123,
src/go/plugin/go.d/collector/activemq/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
webadmin: "ok"
5
max_queues: 123
6
max_topics: 123
src/go/plugin/go.d/collector/apache/collector.go
+4
-3
@@ -45,9 +45,10 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
48
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
49
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
50
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
51
+ web.HTTPConfig `yaml:",inline" json:""`
52
}
53
54
type Collector struct {
src/go/plugin/go.d/collector/apache/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the Apache machine readable [status page](https://httpd.apache.org/docs/2.4/mod/mod_status.html).",
@@ -129,6 +136,9 @@
136
"method": {
137
"ui:widget": "hidden"
138
},
139
+ "autodetection_retry": {
140
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
141
+ },
142
"vnode": {
143
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
144
},
@@ -154,6 +164,7 @@
164
"title": "Base",
165
"fields": [
166
"update_every",
167
+ "autodetection_retry",
168
"url",
169
"timeout",
170
"not_follow_redirects",
src/go/plugin/go.d/collector/apache/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/apache/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/apcupsd/collector.go
+5
-4
@@ -35,10 +35,11 @@ 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"`
38
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
39
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
40
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
41
+ Address string `yaml:"address" json:"address"`
42
+ Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
43
}
44
45
type Collector struct {
src/go/plugin/go.d/collector/apcupsd/config_schema.json
+10
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"address": {
22
"title": "Address",
23
"description": "The IP address and port where the Apcupsd daemon listens for connections.",
@@ -41,6 +48,9 @@
48
"uiOptions": {
49
"fullPage": true
50
},
51
+ "autodetection_retry": {
52
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
53
+ },
54
"vnode": {
55
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
56
},
src/go/plugin/go.d/collector/apcupsd/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"address": "ok",
6
"timeout": 123.123
7
}
src/go/plugin/go.d/collector/apcupsd/testdata/config.yaml
+1
@@ -1,4 +1,5 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
address: "ok"
5
timeout: 123.123
src/go/plugin/go.d/collector/beanstalk/collector.go
+6
-5
@@ -43,11 +43,12 @@ 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"`
50
- TubeSelector string `yaml:"tube_selector,omitempty" json:"tube_selector"`
46
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
47
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
48
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
49
+ Address string `yaml:"address" json:"address"`
50
+ Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
51
+ TubeSelector string `yaml:"tube_selector,omitempty" json:"tube_selector"`
52
}
53
54
type Collector struct {
src/go/plugin/go.d/collector/beanstalk/config_schema.json
+10
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"address": {
22
"title": "Address",
23
"description": "The IP address and port where the Beanstalk service listens for connections.",
@@ -48,6 +55,9 @@
55
"uiOptions": {
56
"fullPage": true
57
},
58
+ "autodetection_retry": {
59
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
60
+ },
61
"vnode": {
62
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
63
},
src/go/plugin/go.d/collector/beanstalk/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"address": "ok",
6
"timeout": 123.123,
7
"tube_selector": "ok"
src/go/plugin/go.d/collector/beanstalk/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
address: "ok"
5
timeout: 123.123
6
tube_selector: "ok"
src/go/plugin/go.d/collector/bind/collector.go
+5
-4
@@ -44,10 +44,11 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
50
- PermitView string `yaml:"permit_view,omitempty" json:"permit_view"`
47
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
48
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
49
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
50
+ web.HTTPConfig `yaml:",inline" json:""`
51
+ PermitView string `yaml:"permit_view,omitempty" json:"permit_view"`
52
}
53
54
type (
src/go/plugin/go.d/collector/bind/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the Bind [statistics endpoint](https://kb.isc.org/docs/monitoring-recommendations-for-bind-9#bind-9-http-statistics-channel).",
@@ -122,6 +129,7 @@
129
"title": "Base",
130
"fields": [
131
"update_every",
132
+ "autodetection_retry",
133
"url",
134
"timeout",
135
"not_follow_redirects",
@@ -169,6 +177,9 @@
177
"method": {
178
"ui:widget": "hidden"
179
},
180
+ "autodetection_retry": {
181
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
182
+ },
183
"vnode": {
184
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
185
},
src/go/plugin/go.d/collector/bind/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/bind/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/boinc/collector.go
+6
-5
@@ -36,11 +36,12 @@ 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"`
43
- Password string `yaml:"password" json:"password"`
39
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
40
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
41
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
42
+ Address string `yaml:"address" json:"address"`
43
+ Timeout confopt.Duration `yaml:"timeout" json:"timeout"`
44
+ Password string `yaml:"password" json:"password"`
45
}
46
47
type Collector struct {
src/go/plugin/go.d/collector/boinc/config_schema.json
+10
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"address": {
22
"title": "Address",
23
"description": "The IP address and port where the BOINC client listens for connections.",
@@ -47,6 +54,9 @@
54
"uiOptions": {
55
"fullPage": true
56
},
57
+ "autodetection_retry": {
58
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
59
+ },
60
"vnode": {
61
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
62
},
src/go/plugin/go.d/collector/boinc/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"address": "ok",
6
"timeout": 123.123,
7
"password": "ok"
src/go/plugin/go.d/collector/boinc/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
address: "ok"
5
timeout: 123.123
6
password: "ok"
src/go/plugin/go.d/collector/cassandra/collector.go
+4
-3
@@ -48,9 +48,10 @@ func New() *Collector {
48
}
49
50
type Config struct {
51
- Vnode string `yaml:"vnode,omitempty" json:"vnode"`
52
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
53
- web.HTTPConfig `yaml:",inline" json:""`
51
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
52
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
53
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
54
+ web.HTTPConfig `yaml:",inline" json:""`
55
}
56
57
type Collector struct {
src/go/plugin/go.d/collector/cassandra/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 5
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the Cassandra [JMX exporter](https://github.com/prometheus/jmx_exporter) metrics endpoint.",
@@ -122,6 +129,7 @@
129
"title": "Base",
130
"fields": [
131
"update_every",
132
+ "autodetection_retry",
133
"url",
134
"timeout",
135
"not_follow_redirects",
@@ -169,6 +177,9 @@
177
"method": {
178
"ui:widget": "hidden"
179
},
180
+ "autodetection_retry": {
181
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
182
+ },
183
"vnode": {
184
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
185
},
src/go/plugin/go.d/collector/cassandra/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/cassandra/testdata/config.yaml
+2
@@ -1,5 +1,7 @@
1
vnode: "ok"
2
update_every: 123
3
+
4
+autodetection_retry: 123
5
url: "ok"
6
body: "ok"
7
method: "ok"
src/go/plugin/go.d/collector/ceph/collector.go
+4
-3
@@ -53,9 +53,10 @@ func New() *Collector {
53
}
54
55
type Config struct {
56
- Vnode string `yaml:"vnode,omitempty" json:"vnode"`
57
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
58
- web.HTTPConfig `yaml:",inline" json:""`
56
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
57
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
58
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
59
+ web.HTTPConfig `yaml:",inline" json:""`
60
}
61
62
type Collector struct {
src/go/plugin/go.d/collector/ceph/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 10
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the [Ceph Manager API](https://docs.ceph.com/en/reef/mgr/ceph_api/).",
@@ -127,6 +134,9 @@
134
"method": {
135
"ui:widget": "hidden"
136
},
137
+ "autodetection_retry": {
138
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
139
+ },
140
"vnode": {
141
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
142
},
@@ -152,6 +162,7 @@
162
"title": "Base",
163
"fields": [
164
"update_every",
165
+ "autodetection_retry",
166
"url",
167
"timeout",
168
"not_follow_redirects",
src/go/plugin/go.d/collector/ceph/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/ceph/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/chrony/collector.go
+5
-4
@@ -38,10 +38,11 @@ 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"`
41
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
42
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
43
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
44
+ Address string `yaml:"address" json:"address"`
45
+ Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
46
}
47
48
type Collector struct {
src/go/plugin/go.d/collector/chrony/config_schema.json
+10
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"address": {
22
"title": "Address",
23
"description": "The IP address and port where Chrony daemon listens for incoming connections.",
@@ -40,6 +47,9 @@
47
"uiOptions": {
48
"fullPage": true
49
},
50
+ "autodetection_retry": {
51
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
52
+ },
53
"vnode": {
54
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
55
},
src/go/plugin/go.d/collector/chrony/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"address": "ok",
6
"timeout": 123.123
7
}
src/go/plugin/go.d/collector/chrony/testdata/config.yaml
+1
@@ -1,4 +1,5 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
address: "ok"
5
timeout: 123.123
src/go/plugin/go.d/collector/clickhouse/collector.go
+4
-3
@@ -45,9 +45,10 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
48
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
49
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
50
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
51
+ web.HTTPConfig `yaml:",inline" json:""`
52
}
53
54
type (
src/go/plugin/go.d/collector/clickhouse/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The base URL of the ClickHouse server.",
@@ -124,6 +131,9 @@
131
"method": {
132
"ui:widget": "hidden"
133
},
134
+ "autodetection_retry": {
135
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
136
+ },
137
"vnode": {
138
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
139
},
@@ -149,6 +159,7 @@
159
"title": "Base",
160
"fields": [
161
"update_every",
162
+ "autodetection_retry",
163
"url",
164
"timeout",
165
"not_follow_redirects",
src/go/plugin/go.d/collector/clickhouse/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/clickhouse/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/cockroachdb/collector.go
+4
-3
@@ -50,9 +50,10 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
53
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
54
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
55
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
56
+ web.HTTPConfig `yaml:",inline" json:""`
57
}
58
59
type Collector struct {
src/go/plugin/go.d/collector/cockroachdb/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 10
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the CockroachDB [Prometheus endpoint](https://www.cockroachlabs.com/docs/stable/monitoring-and-alerting#prometheus-endpoint).",
@@ -122,6 +129,7 @@
129
"title": "Base",
130
"fields": [
131
"update_every",
132
+ "autodetection_retry",
133
"url",
134
"timeout",
135
"not_follow_redirects",
@@ -169,6 +177,9 @@
177
"method": {
178
"ui:widget": "hidden"
179
},
180
+ "autodetection_retry": {
181
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
182
+ },
183
"vnode": {
184
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
185
},
src/go/plugin/go.d/collector/cockroachdb/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/cockroachdb/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/consul/collector.go
+5
-4
@@ -53,10 +53,11 @@ func New() *Collector {
53
}
54
55
type Config struct {
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"`
56
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
57
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
58
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
59
+ web.HTTPConfig `yaml:",inline" json:""`
60
+ ACLToken string `yaml:"acl_token,omitempty" json:"acl_token"`
61
}
62
63
type Collector struct {
src/go/plugin/go.d/collector/consul/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The base URL of the Consul [HTTP(S) API](https://developer.hashicorp.com/consul/api-docs).",
@@ -128,6 +135,7 @@
135
"title": "Base",
136
"fields": [
137
"update_every",
138
+ "autodetection_retry",
139
"url",
140
"timeout",
141
"not_follow_redirects",
@@ -176,6 +184,9 @@
184
"method": {
185
"ui:widget": "hidden"
186
},
187
+ "autodetection_retry": {
188
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
189
+ },
190
"vnode": {
191
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
192
},
src/go/plugin/go.d/collector/consul/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/consul/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/coredns/collector.go
+6
-5
@@ -48,11 +48,12 @@ func New() *Collector {
48
}
49
50
type Config struct {
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"`
51
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
52
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
53
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
54
+ web.HTTPConfig `yaml:",inline" json:""`
55
+ PerServerStats matcher.SimpleExpr `yaml:"per_server_stats,omitempty" json:"per_server_stats"`
56
+ PerZoneStats matcher.SimpleExpr `yaml:"per_zone_stats,omitempty" json:"per_zone_stats"`
57
}
58
59
type Collector struct {
src/go/plugin/go.d/collector/coredns/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the CoreDNS [metrics page](https://coredns.io/plugins/metrics/).",
@@ -197,6 +204,7 @@
204
"title": "Base",
205
"fields": [
206
"update_every",
207
+ "autodetection_retry",
208
"url",
209
"timeout",
210
"not_follow_redirects",
@@ -248,6 +256,9 @@
256
"method": {
257
"ui:widget": "hidden"
258
},
259
+ "autodetection_retry": {
260
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
261
+ },
262
"vnode": {
263
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
264
},
src/go/plugin/go.d/collector/coredns/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/coredns/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/couchbase/collector.go
+4
-3
@@ -46,9 +46,10 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
49
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
50
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
51
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
52
+ web.HTTPConfig `yaml:",inline" json:""`
53
}
54
55
type Collector struct {
src/go/plugin/go.d/collector/couchbase/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 5
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the Couchbase REST API.",
@@ -122,6 +129,7 @@
129
"title": "Base",
130
"fields": [
131
"update_every",
132
+ "autodetection_retry",
133
"url",
134
"timeout",
135
"not_follow_redirects",
@@ -169,6 +177,9 @@
177
"method": {
178
"ui:widget": "hidden"
179
},
180
+ "autodetection_retry": {
181
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
182
+ },
183
"vnode": {
184
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
185
},
src/go/plugin/go.d/collector/couchbase/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/couchbase/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/couchdb/collector.go
+6
-5
@@ -47,11 +47,12 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
53
- Node string `yaml:"node,omitempty" json:"node"`
54
- Databases string `yaml:"databases,omitempty" json:"databases"`
50
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
51
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
52
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
53
+ web.HTTPConfig `yaml:",inline" json:""`
54
+ Node string `yaml:"node,omitempty" json:"node"`
55
+ Databases string `yaml:"databases,omitempty" json:"databases"`
56
}
57
58
type Collector struct {
src/go/plugin/go.d/collector/couchdb/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the CouchDB web server.",
@@ -134,6 +141,7 @@
141
"title": "Base",
142
"fields": [
143
"update_every",
144
+ "autodetection_retry",
145
"url",
146
"timeout",
147
"not_follow_redirects",
@@ -183,6 +191,9 @@
191
"method": {
192
"ui:widget": "hidden"
193
},
194
+ "autodetection_retry": {
195
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
196
+ },
197
"vnode": {
198
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
199
},
src/go/plugin/go.d/collector/couchdb/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/couchdb/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/dnsdist/collector.go
+4
-3
@@ -45,9 +45,10 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
48
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
49
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
50
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
51
+ web.HTTPConfig `yaml:",inline" json:""`
52
}
53
54
type Collector struct {
src/go/plugin/go.d/collector/dnsdist/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the DNSDist [built-in webserver](https://dnsdist.org/guides/webserver.html).",
@@ -122,6 +129,7 @@
129
"title": "Base",
130
"fields": [
131
"update_every",
132
+ "autodetection_retry",
133
"url",
134
"timeout",
135
"not_follow_redirects",
@@ -169,6 +177,9 @@
177
"method": {
178
"ui:widget": "hidden"
179
},
180
+ "autodetection_retry": {
181
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
182
+ },
183
"vnode": {
184
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
185
},
src/go/plugin/go.d/collector/dnsdist/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/dnsdist/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/dnsmasq/collector.go
+6
-5
@@ -44,11 +44,12 @@ 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"`
51
- Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
47
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
48
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
49
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
50
+ Address string `yaml:"address" json:"address"`
51
+ Protocol string `yaml:"protocol,omitempty" json:"protocol"`
52
+ Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
53
}
54
55
type (
src/go/plugin/go.d/collector/dnsmasq/config_schema.json
+10
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"address": {
22
"title": "Address",
23
"description": "The IP address and port where the Dnsmasq daemon listens for connections.",
@@ -52,6 +59,9 @@
59
"uiOptions": {
60
"fullPage": true
61
},
62
+ "autodetection_retry": {
63
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
64
+ },
65
"vnode": {
66
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
67
},
src/go/plugin/go.d/collector/dnsmasq/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"protocol": "ok",
6
"address": "ok",
7
"timeout": 123.123
src/go/plugin/go.d/collector/dnsmasq/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
protocol: "ok"
5
address: "ok"
6
timeout: 123.123
src/go/plugin/go.d/collector/docker/collector.go
+1
@@ -52,6 +52,7 @@ func New() *Collector {
52
type Config struct {
53
Vnode string `yaml:"vnode,omitempty" json:"vnode"`
54
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
55
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
56
Address string `yaml:"address" json:"address"`
57
Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
58
ContainerSelector string `yaml:"container_selector,omitempty" json:"container_selector"`
src/go/plugin/go.d/collector/docker/config_schema.json
+10
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"address": {
22
"title": "Address",
23
"description": "Docker daemon's Unix or TCP (listening address) socket.",
@@ -52,6 +59,9 @@
59
"uiOptions": {
60
"fullPage": true
61
},
62
+ "autodetection_retry": {
63
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
64
+ },
65
"vnode": {
66
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
67
},
src/go/plugin/go.d/collector/docker/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"address": "ok",
6
"timeout": 123.123,
7
"container_selector": "ok",
src/go/plugin/go.d/collector/docker/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
address: "ok"
5
timeout: 123.123
6
container_selector: "ok"
src/go/plugin/go.d/collector/docker_engine/collector.go
+4
-3
@@ -42,9 +42,10 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
45
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
46
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
47
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
48
+ web.HTTPConfig `yaml:",inline" json:""`
49
}
50
51
type Collector struct {
src/go/plugin/go.d/collector/docker_engine/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the Docker Engine [metrics endpoint](https://docs.docker.com/config/daemon/prometheus/#configure-the-daemon).",
@@ -125,6 +132,7 @@
132
"title": "Base",
133
"fields": [
134
"update_every",
135
+ "autodetection_retry",
136
"url",
137
"timeout",
138
"not_follow_redirects",
@@ -169,6 +177,9 @@
177
"method": {
178
"ui:widget": "hidden"
179
},
180
+ "autodetection_retry": {
181
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
182
+ },
183
"vnode": {
184
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
185
},
src/go/plugin/go.d/collector/docker_engine/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/docker_engine/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/dockerhub/collector.go
+5
-4
@@ -44,10 +44,11 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
50
- Repositories []string `yaml:"repositories" json:"repositories"`
47
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
48
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
49
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
50
+ web.HTTPConfig `yaml:",inline" json:""`
51
+ Repositories []string `yaml:"repositories" json:"repositories"`
52
}
53
54
type Collector struct {
src/go/plugin/go.d/collector/dockerhub/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 5
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the DockerHub repositories endpoint.",
@@ -138,6 +145,7 @@
145
"title": "Base",
146
"fields": [
147
"update_every",
148
+ "autodetection_retry",
149
"url",
150
"timeout",
151
"repositories",
@@ -186,6 +194,9 @@
194
"method": {
195
"ui:widget": "hidden"
196
},
197
+ "autodetection_retry": {
198
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
199
+ },
200
"vnode": {
201
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
202
},
src/go/plugin/go.d/collector/dockerhub/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/dockerhub/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/dovecot/collector.go
+5
-4
@@ -35,10 +35,11 @@ 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"`
38
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
39
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
40
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
41
+ Address string `yaml:"address" json:"address"`
42
+ Timeout confopt.Duration `yaml:"timeout" json:"timeout"`
43
}
44
45
type Collector struct {
src/go/plugin/go.d/collector/dovecot/config_schema.json
+14
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"address": {
22
"title": "Address",
23
"description": "The Unix or TCP socket address where the Dovecot [old_stats](https://doc.dovecot.org/configuration_manual/stats/old_statistics/#old-statistics) plugin listens for connections.",
@@ -41,6 +48,13 @@
48
"uiOptions": {
49
"fullPage": true
50
},
51
+ "autodetection_retry": {
52
+ "title": "Detection retry",
53
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
54
+ "type": "integer",
55
+ "minimum": 0,
56
+ "default": 60
57
+ },
58
"vnode": {
59
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
60
},
src/go/plugin/go.d/collector/dovecot/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"address": "ok",
6
"timeout": 123.123
7
}
src/go/plugin/go.d/collector/dovecot/testdata/config.yaml
+1
@@ -1,4 +1,5 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
address: "ok"
5
timeout: 123.123
src/go/plugin/go.d/collector/elasticsearch/collector.go
+9
-8
@@ -58,14 +58,15 @@ func New() *Collector {
58
}
59
60
type Config struct {
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"`
66
- DoClusterHealth bool `yaml:"collect_cluster_health" json:"collect_cluster_health"`
67
- DoClusterStats bool `yaml:"collect_cluster_stats" json:"collect_cluster_stats"`
68
- DoIndicesStats bool `yaml:"collect_indices_stats" json:"collect_indices_stats"`
61
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
62
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
63
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
64
+ web.HTTPConfig `yaml:",inline" json:""`
65
+ ClusterMode bool `yaml:"cluster_mode" json:"cluster_mode"`
66
+ DoNodeStats bool `yaml:"collect_node_stats" json:"collect_node_stats"`
67
+ DoClusterHealth bool `yaml:"collect_cluster_health" json:"collect_cluster_health"`
68
+ DoClusterStats bool `yaml:"collect_cluster_stats" json:"collect_cluster_stats"`
69
+ DoIndicesStats bool `yaml:"collect_indices_stats" json:"collect_indices_stats"`
70
}
71
72
type Collector struct {
src/go/plugin/go.d/collector/elasticsearch/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 5
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The base URL of the Elasticsearch cluster.",
@@ -152,6 +159,7 @@
159
"title": "Base",
160
"fields": [
161
"update_every",
162
+ "autodetection_retry",
163
"url",
164
"timeout",
165
"not_follow_redirects",
@@ -204,6 +212,9 @@
212
"method": {
213
"ui:widget": "hidden"
214
},
215
+ "autodetection_retry": {
216
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
217
+ },
218
"vnode": {
219
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
220
},
src/go/plugin/go.d/collector/elasticsearch/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/elasticsearch/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/envoy/collector.go
+4
-3
@@ -51,9 +51,10 @@ func New() *Collector {
51
}
52
53
type Config struct {
54
- Vnode string `yaml:"vnode,omitempty" json:"vnode"`
55
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
56
- web.HTTPConfig `yaml:",inline" json:""`
54
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
55
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
56
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
57
+ web.HTTPConfig `yaml:",inline" json:""`
58
}
59
60
type Collector struct {
src/go/plugin/go.d/collector/envoy/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the Envoy [Prometheus endpoint](https://www.envoyproxy.io/docs/envoy/latest/start/quick-start/admin#admin).",
@@ -122,6 +129,7 @@
129
"title": "Base",
130
"fields": [
131
"update_every",
132
+ "autodetection_retry",
133
"url",
134
"timeout",
135
"not_follow_redirects",
@@ -169,6 +177,9 @@
177
"method": {
178
"ui:widget": "hidden"
179
},
180
+ "autodetection_retry": {
181
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
182
+ },
183
"vnode": {
184
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
185
},
src/go/plugin/go.d/collector/envoy/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/envoy/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/fluentd/collector.go
+5
-4
@@ -43,10 +43,11 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
49
- PermitPlugin string `yaml:"permit_plugin_id,omitempty" json:"permit_plugin_id"`
46
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
47
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
48
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
49
+ web.HTTPConfig `yaml:",inline" json:""`
50
+ PermitPlugin string `yaml:"permit_plugin_id,omitempty" json:"permit_plugin_id"`
51
}
52
53
type Collector struct {
src/go/plugin/go.d/collector/fluentd/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the Fluentd [monitoring agent](https://docs.fluentd.org/monitoring-fluentd/monitoring-rest-api).",
@@ -122,6 +129,7 @@
129
"title": "Base",
130
"fields": [
131
"update_every",
132
+ "autodetection_retry",
133
"url",
134
"timeout",
135
"not_follow_redirects",
@@ -169,6 +177,9 @@
177
"method": {
178
"ui:widget": "hidden"
179
},
180
+ "autodetection_retry": {
181
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
182
+ },
183
"vnode": {
184
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
185
},
src/go/plugin/go.d/collector/fluentd/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/fluentd/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/freeradius/collector.go
+7
-6
@@ -37,12 +37,13 @@ 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"`
44
- Secret string `yaml:"secret" json:"secret"`
45
- Timeout confopt.Duration `yaml:"timeout" json:"timeout"`
40
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
41
+ UpdateEvery int `yaml:"update_every" json:"update_every"`
42
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
43
+ Address string `yaml:"address" json:"address"`
44
+ Port int `yaml:"port" json:"port"`
45
+ Secret string `yaml:"secret" json:"secret"`
46
+ Timeout confopt.Duration `yaml:"timeout" json:"timeout"`
47
}
48
49
type (
src/go/plugin/go.d/collector/freeradius/config_schema.json
+10
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"address": {
22
"title": "Address",
23
"description": "Server address.",
@@ -54,6 +61,9 @@
61
"uiOptions": {
62
"fullPage": true
63
},
64
+ "autodetection_retry": {
65
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
66
+ },
67
"vnode": {
68
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
69
},
src/go/plugin/go.d/collector/freeradius/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"address": "ok",
6
"port": 123,
7
"secret": "ok",
src/go/plugin/go.d/collector/freeradius/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
address: "ok"
5
port: 123
6
secret: "ok"
src/go/plugin/go.d/collector/gearman/collector.go
+5
-4
@@ -37,10 +37,11 @@ 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"`
40
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
41
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
42
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
43
+ Address string `yaml:"address" json:"address"`
44
+ Timeout confopt.Duration `yaml:"timeout" json:"timeout"`
45
}
46
47
type Collector struct {
src/go/plugin/go.d/collector/gearman/config_schema.json
+10
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"address": {
22
"title": "Address",
23
"description": "The IP address and port where the Gearman service listens for connections.",
@@ -41,6 +48,9 @@
48
"uiOptions": {
49
"fullPage": true
50
},
51
+ "autodetection_retry": {
52
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
53
+ },
54
"vnode": {
55
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
56
},
src/go/plugin/go.d/collector/gearman/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"address": "ok",
6
"timeout": 123.123
7
}
src/go/plugin/go.d/collector/gearman/testdata/config.yaml
+1
@@ -1,4 +1,5 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
address: "ok"
5
timeout: 123.123
src/go/plugin/go.d/collector/haproxy/collector.go
+3
-2
@@ -46,8 +46,9 @@ func New() *Collector {
46
}
47
48
type Config struct {
49
- web.HTTPConfig `yaml:",inline" json:""`
50
- UpdateEvery int `yaml:"update_every" json:"update_every"`
49
+ web.HTTPConfig `yaml:",inline" json:""`
50
+ UpdateEvery int `yaml:"update_every" json:"update_every"`
51
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
52
}
53
54
type Collector struct {
src/go/plugin/go.d/collector/haproxy/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the HAProxy [Prometheus endpoint](https://www.haproxy.com/documentation/haproxy-configuration-tutorials/alerts-and-monitoring/prometheus/).",
@@ -117,6 +124,7 @@
124
"title": "Base",
125
"fields": [
126
"update_every",
127
+ "autodetection_retry",
128
"url",
129
"timeout",
130
"not_follow_redirects"
@@ -163,6 +171,9 @@
171
"method": {
172
"ui:widget": "hidden"
173
},
174
+ "autodetection_retry": {
175
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
176
+ },
177
"timeout": {
178
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
179
},
src/go/plugin/go.d/collector/haproxy/testdata/config.json
+1
@@ -1,5 +1,6 @@
1
{
2
"update_every": 123,
3
+ "autodetection_retry": 123,
4
"url": "ok",
5
"body": "ok",
6
"method": "ok",
src/go/plugin/go.d/collector/haproxy/testdata/config.yaml
+1
@@ -1,4 +1,5 @@
1
update_every: 123
2
+autodetection_retry: 123
3
url: "ok"
4
body: "ok"
5
method: "ok"
src/go/plugin/go.d/collector/hddtemp/collector.go
+4
-3
@@ -37,9 +37,10 @@ func New() *Collector {
37
}
38
39
type Config struct {
40
- UpdateEvery int `yaml:"update_every" json:"update_every"`
41
- Address string `yaml:"address" json:"address"`
42
- Timeout confopt.Duration `yaml:"timeout" json:"timeout"`
40
+ UpdateEvery int `yaml:"update_every" json:"update_every"`
41
+ Address string `yaml:"address" json:"address"`
42
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
43
+ Timeout confopt.Duration `yaml:"timeout" json:"timeout"`
44
}
45
46
type Collector struct {
src/go/plugin/go.d/collector/hddtemp/config_schema.json
+10
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"address": {
22
"title": "Address",
23
"description": "The IP address and port where the hddtemp daemon listens for connections.",
@@ -36,6 +43,9 @@
43
"uiOptions": {
44
"fullPage": true
45
},
46
+ "autodetection_retry": {
47
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
48
+ },
49
"timeout": {
50
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
51
}
src/go/plugin/go.d/collector/hddtemp/testdata/config.json
+1
@@ -1,5 +1,6 @@
1
{
2
"update_every": 123,
3
+ "autodetection_retry": 123,
4
"address": "ok",
5
"timeout": 123.123
6
}
src/go/plugin/go.d/collector/hddtemp/testdata/config.yaml
+1
@@ -1,3 +1,4 @@
1
update_every: 123
2
+autodetection_retry: 123
3
address: "ok"
4
timeout: 123.123
src/go/plugin/go.d/collector/hdfs/collector.go
+4
-3
@@ -44,9 +44,10 @@ 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"`
47
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
48
+ UpdateEvery int `yaml:"update_every" json:"update_every"`
49
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
50
+ web.HTTPConfig `yaml:",inline" json:""`
51
}
52
53
type Collector struct {
src/go/plugin/go.d/collector/hdfs/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the HDFS DataNode or NameNode JMX endpoint.",
@@ -122,6 +129,7 @@
129
"title": "Base",
130
"fields": [
131
"update_every",
132
+ "autodetection_retry",
133
"url",
134
"timeout",
135
"not_follow_redirects",
@@ -169,6 +177,9 @@
177
"method": {
178
"ui:widget": "hidden"
179
},
180
+ "autodetection_retry": {
181
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
182
+ },
183
"vnode": {
184
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
185
},
src/go/plugin/go.d/collector/hdfs/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/hdfs/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/icecast/collector.go
+4
-3
@@ -45,9 +45,10 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
48
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
49
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
50
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
51
+ web.HTTPConfig `yaml:",inline" json:""`
52
}
53
54
type Collector struct {
src/go/plugin/go.d/collector/icecast/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The base URL where the Icecast API can be accessed.",
@@ -124,6 +131,9 @@
131
"method": {
132
"ui:widget": "hidden"
133
},
134
+ "autodetection_retry": {
135
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
136
+ },
137
"vnode": {
138
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
139
},
@@ -143,6 +153,7 @@
153
"title": "Base",
154
"fields": [
155
"update_every",
156
+ "autodetection_retry",
157
"url",
158
"timeout",
159
"not_follow_redirects",
src/go/plugin/go.d/collector/icecast/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/icecast/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/ipfs/collector.go
+6
-5
@@ -46,11 +46,12 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
52
- QueryPinApi bool `yaml:"pinapi" json:"pinapi"`
53
- QueryRepoApi bool `yaml:"repoapi" json:"repoapi"`
49
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
50
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
51
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
52
+ web.HTTPConfig `yaml:",inline" json:""`
53
+ QueryPinApi bool `yaml:"pinapi" json:"pinapi"`
54
+ QueryRepoApi bool `yaml:"repoapi" json:"repoapi"`
55
}
56
57
type Collector struct {
src/go/plugin/go.d/collector/ipfs/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The base URL where the IPFS API can be accessed.",
@@ -134,6 +141,9 @@
141
"method": {
142
"ui:widget": "hidden"
143
},
144
+ "autodetection_retry": {
145
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
146
+ },
147
"vnode": {
148
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
149
},
@@ -159,6 +169,7 @@
169
"title": "Base",
170
"fields": [
171
"update_every",
172
+ "autodetection_retry",
173
"url",
174
"timeout",
175
"repoapi",
src/go/plugin/go.d/collector/ipfs/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/ipfs/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/k8s_kubelet/collector.go
+5
-4
@@ -51,10 +51,11 @@ func New() *Collector {
51
}
52
53
type Config struct {
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"`
54
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
55
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
56
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
57
+ web.HTTPConfig `yaml:",inline" json:""`
58
+ TokenPath string `yaml:"token_path,omitempty" json:"token_path"`
59
}
60
61
type Collector struct {
src/go/plugin/go.d/collector/k8s_kubelet/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the Kubelet metrics endpoint.",
@@ -122,6 +129,7 @@
129
"title": "Base",
130
"fields": [
131
"update_every",
132
+ "autodetection_retry",
133
"url",
134
"timeout",
135
"not_follow_redirects",
@@ -169,6 +177,9 @@
177
"method": {
178
"ui:widget": "hidden"
179
},
180
+ "autodetection_retry": {
181
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
182
+ },
183
"vnode": {
184
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
185
},
src/go/plugin/go.d/collector/k8s_kubelet/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/k8s_kubelet/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/k8s_kubeproxy/collector.go
+4
-3
@@ -47,9 +47,10 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
50
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
51
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
52
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
53
+ web.HTTPConfig `yaml:",inline" json:""`
54
}
55
56
type Collector struct {
src/go/plugin/go.d/collector/k8s_kubeproxy/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the Kubeproxy metrics endpoint.",
@@ -122,6 +129,7 @@
129
"title": "Base",
130
"fields": [
131
"update_every",
132
+ "autodetection_retry",
133
"url",
134
"timeout",
135
"not_follow_redirects",
@@ -169,6 +177,9 @@
177
"method": {
178
"ui:widget": "hidden"
179
},
180
+ "autodetection_retry": {
181
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
182
+ },
183
"vnode": {
184
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
185
},
src/go/plugin/go.d/collector/k8s_kubeproxy/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/k8s_kubeproxy/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/lighttpd/collector.go
+4
-3
@@ -43,9 +43,10 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
46
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
47
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
48
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
49
+ web.HTTPConfig `yaml:",inline" json:""`
50
}
51
52
type Collector struct {
src/go/plugin/go.d/collector/lighttpd/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the Lighttpd machine readable [status page](https://redmine.lighttpd.net/projects/lighttpd/wiki/Mod_status).",
@@ -122,6 +129,7 @@
129
"title": "Base",
130
"fields": [
131
"update_every",
132
+ "autodetection_retry",
133
"url",
134
"timeout",
135
"not_follow_redirects",
@@ -169,6 +177,9 @@
177
"method": {
178
"ui:widget": "hidden"
179
},
180
+ "autodetection_retry": {
181
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
182
+ },
183
"vnode": {
184
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
185
},
src/go/plugin/go.d/collector/lighttpd/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/lighttpd/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/logstash/collector.go
+4
-3
@@ -44,9 +44,10 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
47
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
48
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
49
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
50
+ web.HTTPConfig `yaml:",inline" json:""`
51
}
52
53
type Collector struct {
src/go/plugin/go.d/collector/logstash/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the Logstash [monitoring API](https://www.elastic.co/guide/en/logstash/current/monitoring-logstash.html#monitoring).",
@@ -122,6 +129,7 @@
129
"title": "Base",
130
"fields": [
131
"update_every",
132
+ "autodetection_retry",
133
"url",
134
"timeout",
135
"not_follow_redirects",
@@ -169,6 +177,9 @@
177
"method": {
178
"ui:widget": "hidden"
179
},
180
+ "autodetection_retry": {
181
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
182
+ },
183
"vnode": {
184
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
185
},
src/go/plugin/go.d/collector/logstash/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/logstash/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/maxscale/collector.go
+4
-3
@@ -46,9 +46,10 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
49
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
50
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
51
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
52
+ web.HTTPConfig `yaml:",inline" json:""`
53
}
54
55
type Collector struct {
src/go/plugin/go.d/collector/maxscale/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the MaxScale HTTP API endpoint.",
@@ -126,6 +133,9 @@
133
"method": {
134
"ui:widget": "hidden"
135
},
136
+ "autodetection_retry": {
137
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
138
+ },
139
"vnode": {
140
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
141
},
@@ -151,6 +161,7 @@
161
"title": "Base",
162
"fields": [
163
"update_every",
164
+ "autodetection_retry",
165
"url",
166
"timeout",
167
"not_follow_redirects",
src/go/plugin/go.d/collector/maxscale/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/maxscale/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/memcached/collector.go
+5
-4
@@ -35,10 +35,11 @@ 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"`
38
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
39
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
40
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
41
+ Address string `yaml:"address" json:"address"`
42
+ Timeout confopt.Duration `yaml:"timeout" json:"timeout"`
43
}
44
45
type Collector struct {
src/go/plugin/go.d/collector/memcached/config_schema.json
+10
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"address": {
22
"title": "Address",
23
"description": "The IP address and port where the memcached service listens for connections.",
@@ -41,6 +48,9 @@
48
"uiOptions": {
49
"fullPage": true
50
},
51
+ "autodetection_retry": {
52
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
53
+ },
54
"vnode": {
55
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
56
},
src/go/plugin/go.d/collector/memcached/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"address": "ok",
6
"timeout": 123.123
7
}
src/go/plugin/go.d/collector/memcached/testdata/config.yaml
+1
@@ -1,4 +1,5 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
address: "ok"
5
timeout: 123.123
src/go/plugin/go.d/collector/mongodb/collector.go
+6
-5
@@ -50,11 +50,12 @@ 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"`
57
- Databases matcher.SimpleExpr `yaml:"databases,omitempty" json:"databases"`
53
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
54
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
55
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
56
+ URI string `yaml:"uri" json:"uri"`
57
+ Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
58
+ Databases matcher.SimpleExpr `yaml:"databases,omitempty" json:"databases"`
59
}
60
61
type Collector struct {
src/go/plugin/go.d/collector/mongodb/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"uri": {
22
"title": "URI",
23
"description": "The MongoDB connection string in the [standard connection string format](https://www.mongodb.com/docs/manual/reference/connection-string/#std-label-connections-standard-connection-string-format).",
@@ -80,6 +87,9 @@
87
"vnode": {
88
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
89
},
90
+ "autodetection_retry": {
91
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
92
+ },
93
"uri": {
94
"ui:placeholder": "mongodb://username:password@host:port"
95
},
@@ -96,6 +106,7 @@
106
"title": "Base",
107
"fields": [
108
"update_every",
109
+ "autodetection_retry",
110
"uri",
111
"timeout",
112
"vnode"
src/go/plugin/go.d/collector/mongodb/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 1,
4
+ "autodetection_retry": 123,
5
"uri": "ok",
6
"timeout": 123.123,
7
"databases": {
src/go/plugin/go.d/collector/mongodb/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 1
3
+autodetection_retry: 123
4
uri: "ok"
5
timeout: 123.123
6
databases:
src/go/plugin/go.d/collector/monit/collector.go
+4
-3
@@ -46,9 +46,10 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
49
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
50
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
51
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
52
+ web.HTTPConfig `yaml:",inline" json:""`
53
}
54
55
type Collector struct {
src/go/plugin/go.d/collector/monit/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The base URL of the Monit server.",
@@ -126,6 +133,9 @@
133
"method": {
134
"ui:widget": "hidden"
135
},
136
+ "autodetection_retry": {
137
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
138
+ },
139
"vnode": {
140
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
141
},
@@ -151,6 +161,7 @@
161
"title": "Base",
162
"fields": [
163
"update_every",
164
+ "autodetection_retry",
165
"url",
166
"timeout",
167
"not_follow_redirects",
src/go/plugin/go.d/collector/monit/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/monit/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/mysql/collector.go
+6
-5
@@ -57,11 +57,12 @@ 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"`
64
- Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
60
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
61
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
62
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
63
+ DSN string `yaml:"dsn" json:"dsn"`
64
+ MyCNF string `yaml:"my.cnf,omitempty" json:"my.cnf"`
65
+ Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
66
}
67
68
type Collector struct {
src/go/plugin/go.d/collector/mysql/config_schema.json
+10
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"dsn": {
22
"title": "DSN",
23
"description": "MySQL server [Data Source Name (DSN)](https://github.com/go-sql-driver/mysql#dsn-data-source-name) specifying the connection details.",
@@ -49,6 +56,9 @@
56
"vnode": {
57
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
58
},
59
+ "autodetection_retry": {
60
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
61
+ },
62
"dsn": {
63
"ui:placeholder": "username:password@protocol(address)/dbname"
64
},
src/go/plugin/go.d/collector/mysql/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"dsn": "ok",
6
"my.cnf": "ok",
7
"timeout": 123.123
src/go/plugin/go.d/collector/mysql/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
dsn: "ok"
5
my.cnf: "ok"
6
timeout: 123.123
src/go/plugin/go.d/collector/nats/collector.go
+5
-4
@@ -47,10 +47,11 @@ 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
- HealthzCheck string `yaml:"healthz_check,omitempty" json:"healthz_check"`
53
- web.HTTPConfig `yaml:",inline" json:""`
50
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
51
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
52
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
53
+ HealthzCheck string `yaml:"healthz_check,omitempty" json:"healthz_check"`
54
+ web.HTTPConfig `yaml:",inline" json:""`
55
}
56
57
type Collector struct {
src/go/plugin/go.d/collector/nats/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the NATS [monitoring endpoint](https://docs.nats.io/running-a-nats-service/nats_admin/monitoring#enabling-monitoring).",
@@ -135,6 +142,9 @@
142
"method": {
143
"ui:widget": "hidden"
144
},
145
+ "autodetection_retry": {
146
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
147
+ },
148
"vnode": {
149
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
150
},
@@ -163,6 +173,7 @@
173
"title": "Base",
174
"fields": [
175
"update_every",
176
+ "autodetection_retry",
177
"url",
178
"timeout",
179
"not_follow_redirects",
src/go/plugin/go.d/collector/nats/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"healthz_check": "ok",
6
"url": "ok",
7
"body": "ok",
src/go/plugin/go.d/collector/nats/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
healthz_check: "ok"
5
url: "ok"
6
body: "ok"
src/go/plugin/go.d/collector/nginx/collector.go
+4
-3
@@ -43,9 +43,10 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
46
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
47
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
48
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
49
+ web.HTTPConfig `yaml:",inline" json:""`
50
}
51
52
type Collector struct {
src/go/plugin/go.d/collector/nginx/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the NGINX [status page](https://nginx.org/en/docs/http/ngx_http_stub_status_module.html).",
@@ -122,6 +129,7 @@
129
"title": "Base",
130
"fields": [
131
"update_every",
132
+ "autodetection_retry",
133
"url",
134
"timeout",
135
"not_follow_redirects",
@@ -169,6 +177,9 @@
177
"method": {
178
"ui:widget": "hidden"
179
},
180
+ "autodetection_retry": {
181
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
182
+ },
183
"vnode": {
184
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
185
},
src/go/plugin/go.d/collector/nginx/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/nginx/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/nginxplus/collector.go
+4
-3
@@ -45,9 +45,10 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
48
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
49
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
50
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
51
+ web.HTTPConfig `yaml:",inline" json:""`
52
}
53
54
type Collector struct {
src/go/plugin/go.d/collector/nginxplus/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The base URL of the NGINX Plus webserver.",
@@ -122,6 +129,7 @@
129
"title": "Base",
130
"fields": [
131
"update_every",
132
+ "autodetection_retry",
133
"url",
134
"timeout",
135
"not_follow_redirects",
@@ -169,6 +177,9 @@
177
"method": {
178
"ui:widget": "hidden"
179
},
180
+ "autodetection_retry": {
181
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
182
+ },
183
"vnode": {
184
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
185
},
src/go/plugin/go.d/collector/nginxplus/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/nginxplus/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/nginxunit/collector.go
+4
-3
@@ -43,9 +43,10 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
46
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
47
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
48
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
49
+ web.HTTPConfig `yaml:",inline" json:""`
50
}
51
52
type Collector struct {
src/go/plugin/go.d/collector/nginxunit/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the NGINX Unit HTTP Control API.",
@@ -122,6 +129,7 @@
129
"title": "Base",
130
"fields": [
131
"update_every",
132
+ "autodetection_retry",
133
"url",
134
"timeout",
135
"not_follow_redirects",
@@ -169,6 +177,9 @@
177
"method": {
178
"ui:widget": "hidden"
179
},
180
+ "autodetection_retry": {
181
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
182
+ },
183
"vnode": {
184
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
185
},
src/go/plugin/go.d/collector/nginxunit/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/nginxunit/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/nginxvts/collector.go
+4
-3
@@ -45,9 +45,10 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
48
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
49
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
50
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
51
+ web.HTTPConfig `yaml:",inline" json:""`
52
}
53
54
type Collector struct {
src/go/plugin/go.d/collector/nginxvts/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the NGINX VTS [module status page](https://github.com/vozlt/nginx-module-vts#readme).",
@@ -121,6 +128,7 @@
128
"title": "Base",
129
"fields": [
130
"update_every",
131
+ "autodetection_retry",
132
"url",
133
"timeout",
134
"not_follow_redirects",
@@ -168,6 +176,9 @@
176
"method": {
177
"ui:widget": "hidden"
178
},
179
+ "autodetection_retry": {
180
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
181
+ },
182
"vnode": {
183
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
184
},
src/go/plugin/go.d/collector/nginxvts/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/nginxvts/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/ntpd/collector.go
+6
-5
@@ -40,11 +40,12 @@ 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"`
47
- CollectPeers bool `yaml:"collect_peers" json:"collect_peers"`
43
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
44
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
45
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
46
+ Address string `yaml:"address" json:"address"`
47
+ Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
48
+ CollectPeers bool `yaml:"collect_peers" json:"collect_peers"`
49
}
50
51
type Collector struct {
src/go/plugin/go.d/collector/ntpd/config_schema.json
+10
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"address": {
22
"title": "Address",
23
"description": "The IP address and port where the NTPd daemon listens for connections.",
@@ -49,6 +56,9 @@
56
"vnode": {
57
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
58
},
59
+ "autodetection_retry": {
60
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
61
+ },
62
"timeout": {
63
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
64
}
src/go/plugin/go.d/collector/ntpd/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"address": "ok",
6
"timeout": 123.123,
7
"collect_peers": true
src/go/plugin/go.d/collector/ntpd/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
address: "ok"
5
timeout: 123.123
6
collect_peers: yes
src/go/plugin/go.d/collector/openldap/collect.go
+1
@@ -4,6 +4,7 @@ package openldap
4
5
import (
6
"context"
7
+
8
"github.com/go-ldap/ldap/v3"
9
)
10
src/go/plugin/go.d/collector/openldap/collector.go
+8
-7
@@ -42,13 +42,14 @@ 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"`
49
- Username string `yaml:"username" json:"username"`
50
- Password string `yaml:"password" json:"password"`
51
- tlscfg.TLSConfig `yaml:",inline" json:""`
45
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
46
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
47
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
48
+ URL string `yaml:"url" json:"url"`
49
+ Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
50
+ Username string `yaml:"username" json:"username"`
51
+ Password string `yaml:"password" json:"password"`
52
+ tlscfg.TLSConfig `yaml:",inline" json:""`
53
}
54
55
type Collector struct {
src/go/plugin/go.d/collector/openldap/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"timeout": {
22
"title": "Timeout",
23
"description": "Timeout for establishing a connection and communication (reading and writing) in seconds.",
@@ -84,6 +91,7 @@
91
"title": "Base",
92
"fields": [
93
"update_every",
94
+ "autodetection_retry",
95
"url",
96
"timeout",
97
"username",
@@ -105,6 +113,9 @@
113
"vnode": {
114
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
115
},
116
+ "autodetection_retry": {
117
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
118
+ },
119
"timeout": {
120
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
121
},
src/go/plugin/go.d/collector/openldap/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"timeout": 123.123,
7
"username": "ok",
src/go/plugin/go.d/collector/openldap/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
timeout: 123.123
6
username: "ok"
src/go/plugin/go.d/collector/openvpn/collector.go
+6
-5
@@ -38,11 +38,12 @@ 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"`
45
- PerUserStats matcher.SimpleExpr `yaml:"per_user_stats,omitempty" json:"per_user_stats"`
41
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
42
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
43
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
44
+ Address string `yaml:"address" json:"address"`
45
+ Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
46
+ PerUserStats matcher.SimpleExpr `yaml:"per_user_stats,omitempty" json:"per_user_stats"`
47
}
48
49
type (
src/go/plugin/go.d/collector/openvpn/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"address": {
22
"title": "Address",
23
"description": "The IP address and port where the OpenVPN [Management Interface](https://openvpn.net/community-resources/management-interface/) listens for connections.",
@@ -80,6 +87,9 @@
87
"vnode": {
88
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
89
},
90
+ "autodetection_retry": {
91
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
92
+ },
93
"timeout": {
94
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
95
},
@@ -93,6 +103,7 @@
103
"title": "Base",
104
"fields": [
105
"update_every",
106
+ "autodetection_retry",
107
"address",
108
"timeout",
109
"vnode"
src/go/plugin/go.d/collector/openvpn/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"address": "ok",
6
"timeout": 123.123,
7
"per_user_stats": {
src/go/plugin/go.d/collector/openvpn/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
address: "ok"
5
timeout: 123.123
6
per_user_stats:
src/go/plugin/go.d/collector/oracledb/collector.go
+5
-4
@@ -37,10 +37,11 @@ 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"`
40
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
41
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
42
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
43
+ DSN string `json:"dsn" yaml:"dsn"`
44
+ Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
45
46
charts *module.Charts
47
src/go/plugin/go.d/collector/oracledb/config_schema.json
+10
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"dsn": {
22
"title": "DSN",
23
"description": "Oracle server Data Source Name specifying the connection details.",
@@ -44,6 +51,9 @@
51
"vnode": {
52
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
53
},
54
+ "autodetection_retry": {
55
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
56
+ },
57
"dsn": {
58
"ui:help": "Format is `oracle://username:password@host:port/service`.",
59
"ui:placeholder": "oracle://username:password@host:port/service?param1=value1&...¶mN=valueN"
src/go/plugin/go.d/collector/oracledb/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"dsn": "ok",
6
"timeout": 123.123
7
}
src/go/plugin/go.d/collector/oracledb/testdata/config.yaml
+1
@@ -1,4 +1,5 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
dsn: "ok"
5
timeout: 123.123
src/go/plugin/go.d/collector/pgbouncer/collector.go
+5
-4
@@ -43,10 +43,11 @@ 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"`
46
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
47
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
48
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
49
+ DSN string `yaml:"dsn" json:"dsn"`
50
+ Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
51
}
52
53
type Collector struct {
src/go/plugin/go.d/collector/pgbouncer/config_schema.json
+10
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"dsn": {
22
"title": "DSN",
23
"description": "PgBouncer server Data Source Name in [key/value string](https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING-KEYWORD-VALUE) or [URI](https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING-URIS) format.",
@@ -44,6 +51,9 @@
51
"vnode": {
52
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
53
},
54
+ "autodetection_retry": {
55
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
56
+ },
57
"dsn": {
58
"ui:placeholder": "postgres://username:password@host:port/dbname"
59
},
src/go/plugin/go.d/collector/pgbouncer/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"dsn": "ok",
6
"timeout": 123.123
7
}
src/go/plugin/go.d/collector/pgbouncer/testdata/config.yaml
+1
@@ -1,4 +1,5 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
dsn: "ok"
5
timeout: 123.123
src/go/plugin/go.d/collector/phpdaemon/collector.go
+4
-3
@@ -44,9 +44,10 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
47
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
48
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
49
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
50
+ web.HTTPConfig `yaml:",inline" json:""`
51
}
52
53
type Collector struct {
src/go/plugin/go.d/collector/phpdaemon/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the phpDaemon status page.",
@@ -122,6 +129,7 @@
129
"title": "Base",
130
"fields": [
131
"update_every",
132
+ "autodetection_retry",
133
"url",
134
"timeout",
135
"not_follow_redirects",
@@ -169,6 +177,9 @@
177
"method": {
178
"ui:widget": "hidden"
179
},
180
+ "autodetection_retry": {
181
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
182
+ },
183
"vnode": {
184
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
185
},
src/go/plugin/go.d/collector/phpdaemon/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/phpdaemon/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/phpfpm/collector.go
+7
-6
@@ -42,12 +42,13 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
48
- Socket string `yaml:"socket,omitempty" json:"socket"`
49
- Address string `yaml:"address,omitempty" json:"address"`
50
- FcgiPath string `yaml:"fcgi_path,omitempty" json:"fcgi_path"`
45
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
46
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
47
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
48
+ web.HTTPConfig `yaml:",inline" json:""`
49
+ Socket string `yaml:"socket,omitempty" json:"socket"`
50
+ Address string `yaml:"address,omitempty" json:"address"`
51
+ FcgiPath string `yaml:"fcgi_path,omitempty" json:"fcgi_path"`
52
}
53
54
type Collector struct {
src/go/plugin/go.d/collector/phpfpm/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"timeout": {
22
"title": "Timeout",
23
"description": "The timeout in seconds for requests.",
@@ -153,6 +160,9 @@
160
"method": {
161
"ui:widget": "hidden"
162
},
163
+ "autodetection_retry": {
164
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
165
+ },
166
"timeout": {
167
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
168
},
@@ -175,6 +185,7 @@
185
"title": "Base",
186
"fields": [
187
"update_every",
188
+ "autodetection_retry",
189
"timeout",
190
"url",
191
"address",
src/go/plugin/go.d/collector/phpfpm/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/phpfpm/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/pihole/collector.go
+4
-3
@@ -47,9 +47,10 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
50
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
51
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
52
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
53
+ web.HTTPConfig `yaml:",inline" json:""`
54
}
55
56
type Collector struct {
src/go/plugin/go.d/collector/pihole/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The base URL of the Pi-hole instance.",
@@ -131,6 +138,7 @@
138
"title": "Base",
139
"fields": [
140
"update_every",
141
+ "autodetection_retry",
142
"url",
143
"timeout",
144
"not_follow_redirects",
@@ -176,6 +184,9 @@
184
"method": {
185
"ui:widget": "hidden"
186
},
187
+ "autodetection_retry": {
188
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
189
+ },
190
"vnode": {
191
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
192
},
src/go/plugin/go.d/collector/pihole/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/pihole/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/pika/collector.go
+6
-5
@@ -41,11 +41,12 @@ 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"`
48
- tlscfg.TLSConfig `yaml:",inline" json:""`
44
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
45
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
46
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
47
+ Address string `yaml:"address" json:"address"`
48
+ Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
49
+ tlscfg.TLSConfig `yaml:",inline" json:""`
50
}
51
52
type (
src/go/plugin/go.d/collector/pika/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"address": {
22
"title": "URI",
23
"description": "The URI specifying the connection details for the Pika server.",
@@ -67,6 +74,9 @@
74
"vnode": {
75
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
76
},
77
+ "autodetection_retry": {
78
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
79
+ },
80
"address": {
81
"ui:placeholder": "redis://user:password@host:port",
82
"ui:help": "Tcp connection: `redis://user:password@host:port`. Unix connection: `unix://user:password@/path/to/redis.sock`."
@@ -81,6 +91,7 @@
91
"title": "Base",
92
"fields": [
93
"update_every",
94
+ "autodetection_retry",
95
"address",
96
"timeout",
97
"vnode"
src/go/plugin/go.d/collector/pika/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"address": "ok",
6
"timeout": 123.123,
7
"tls_ca": "ok",
src/go/plugin/go.d/collector/pika/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
address: "ok"
5
timeout: 123.123
6
tls_ca: "ok"
src/go/plugin/go.d/collector/postgres/collector.go
+1
@@ -62,6 +62,7 @@ func New() *Collector {
62
type Config struct {
63
Vnode string `yaml:"vnode,omitempty" json:"vnode"`
64
UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
65
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
66
DSN string `yaml:"dsn" json:"dsn"`
67
Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
68
DBSelector string `yaml:"collect_databases_matching,omitempty" json:"collect_databases_matching"`
src/go/plugin/go.d/collector/postgres/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"dsn": {
22
"title": "DSN",
23
"description": "Postgres server Data Source Name in [key/value string](https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING-KEYWORD-VALUE) or [URI](https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING-URIS) format.",
@@ -111,6 +118,7 @@
118
"title": "Base",
119
"fields": [
120
"update_every",
121
+ "autodetection_retry",
122
"dsn",
123
"timeout",
124
"vnode"
@@ -136,6 +144,9 @@
144
"vnode": {
145
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
146
},
147
+ "autodetection_retry": {
148
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
149
+ },
150
"dsn": {
151
"ui:placeholder": "postgres://username:password@host:port/dbname"
152
},
src/go/plugin/go.d/collector/postgres/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"dsn": "ok",
6
"timeout": 123.123,
7
"collect_databases_matching": "ok",
src/go/plugin/go.d/collector/postgres/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
dsn: "ok"
5
timeout: 123.123
6
collect_databases_matching: "ok"
src/go/plugin/go.d/collector/powerdns/collector.go
+4
-3
@@ -42,9 +42,10 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
45
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
46
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
47
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
48
+ web.HTTPConfig `yaml:",inline" json:""`
49
}
50
51
type Collector struct {
src/go/plugin/go.d/collector/powerdns/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the PowerDNS [built-in webserver](https://doc.powerdns.com/authoritative/http-api/index.html#webserver).",
@@ -122,6 +129,7 @@
129
"title": "Base",
130
"fields": [
131
"update_every",
132
+ "autodetection_retry",
133
"url",
134
"timeout",
135
"not_follow_redirects",
@@ -169,6 +177,9 @@
177
"method": {
178
"ui:widget": "hidden"
179
},
180
+ "autodetection_retry": {
181
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
182
+ },
183
"vnode": {
184
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
185
},
src/go/plugin/go.d/collector/powerdns/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/powerdns/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/powerdns_recursor/collector.go
+4
-3
@@ -42,9 +42,10 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
45
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
46
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
47
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
48
+ web.HTTPConfig `yaml:",inline" json:""`
49
}
50
51
type Collector struct {
src/go/plugin/go.d/collector/powerdns_recursor/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the PowerDNS Recursor [built-in webserver](https://doc.powerdns.com/recursor/http-api/index.html#webserver).",
@@ -122,6 +129,7 @@
129
"title": "Base",
130
"fields": [
131
"update_every",
132
+ "autodetection_retry",
133
"url",
134
"timeout",
135
"not_follow_redirects",
@@ -169,6 +177,9 @@
177
"method": {
178
"ui:widget": "hidden"
179
},
180
+ "autodetection_retry": {
181
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
182
+ },
183
"vnode": {
184
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
185
},
src/go/plugin/go.d/collector/powerdns_recursor/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/powerdns_recursor/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/prometheus/collector.go
+13
-12
@@ -48,18 +48,19 @@ func New() *Collector {
48
}
49
50
type Config struct {
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"`
56
- LabelPrefix string `yaml:"label_prefix,omitempty" json:"label_prefix"`
57
- BearerTokenFile string `yaml:"bearer_token_file,omitempty" json:"bearer_token_file"`
58
- Selector selector.Expr `yaml:"selector,omitempty" json:"selector"`
59
- ExpectedPrefix string `yaml:"expected_prefix,omitempty" json:"expected_prefix"`
60
- MaxTS int `yaml:"max_time_series" json:"max_time_series"`
61
- MaxTSPerMetric int `yaml:"max_time_series_per_metric" json:"max_time_series_per_metric"`
62
- FallbackType struct {
51
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
52
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
53
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
54
+ web.HTTPConfig `yaml:",inline" json:""`
55
+ Name string `yaml:"name,omitempty" json:"name"`
56
+ Application string `yaml:"app,omitempty" json:"app"`
57
+ LabelPrefix string `yaml:"label_prefix,omitempty" json:"label_prefix"`
58
+ BearerTokenFile string `yaml:"bearer_token_file,omitempty" json:"bearer_token_file"`
59
+ Selector selector.Expr `yaml:"selector,omitempty" json:"selector"`
60
+ ExpectedPrefix string `yaml:"expected_prefix,omitempty" json:"expected_prefix"`
61
+ MaxTS int `yaml:"max_time_series" json:"max_time_series"`
62
+ MaxTSPerMetric int `yaml:"max_time_series_per_metric" json:"max_time_series_per_metric"`
63
+ FallbackType struct {
64
Gauge []string `yaml:"gauge,omitempty" json:"gauge"`
65
Counter []string `yaml:"counter,omitempty" json:"counter"`
66
} `yaml:"fallback_type,omitempty" json:"fallback_type"`
src/go/plugin/go.d/collector/prometheus/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 10
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the Prometheus metrics endpoint.",
@@ -230,6 +237,7 @@
237
"title": "Base",
238
"fields": [
239
"update_every",
240
+ "autodetection_retry",
241
"url",
242
"timeout",
243
"not_follow_redirects",
@@ -290,6 +298,9 @@
298
}
299
]
300
},
301
+ "autodetection_retry": {
302
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
303
+ },
304
"vnode": {
305
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
306
},
src/go/plugin/go.d/collector/prometheus/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/prometheus/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/proxysql/collector.go
+5
-4
@@ -45,10 +45,11 @@ 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"`
48
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
49
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
50
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
51
+ DSN string `yaml:"dsn" json:"dsn"`
52
+ Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
53
}
54
55
type Collector struct {
src/go/plugin/go.d/collector/proxysql/config_schema.json
+10
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"dsn": {
22
"title": "DSN",
23
"description": "ProxySQL server [Data Source Name (DSN)](https://github.com/go-sql-driver/mysql#dsn-data-source-name) specifying the connection details.",
@@ -44,6 +51,9 @@
51
"vnode": {
52
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
53
},
54
+ "autodetection_retry": {
55
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
56
+ },
57
"dsn": {
58
"ui:placeholder": "username:password@protocol(address)/dbname"
59
},
src/go/plugin/go.d/collector/proxysql/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"dsn": "ok",
6
"timeout": 123.123
7
}
src/go/plugin/go.d/collector/proxysql/testdata/config.yaml
+1
@@ -1,4 +1,5 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
dsn: "ok"
5
timeout: 123.123
src/go/plugin/go.d/collector/pulsar/collector.go
+5
-4
@@ -57,10 +57,11 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
63
- TopicFilter matcher.SimpleExpr `yaml:"topic_filter,omitempty" json:"topic_filter"`
60
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
61
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
62
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
63
+ web.HTTPConfig `yaml:",inline" json:""`
64
+ TopicFilter matcher.SimpleExpr `yaml:"topic_filter,omitempty" json:"topic_filter"`
65
}
66
67
type Collector struct {
src/go/plugin/go.d/collector/pulsar/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 60
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the Pulsar metrics endpoint.",
@@ -122,6 +129,7 @@
129
"title": "Base",
130
"fields": [
131
"update_every",
132
+ "autodetection_retry",
133
"url",
134
"timeout",
135
"not_follow_redirects",
@@ -169,6 +177,9 @@
177
"method": {
178
"ui:widget": "hidden"
179
},
180
+ "autodetection_retry": {
181
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
182
+ },
183
"vnode": {
184
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
185
},
src/go/plugin/go.d/collector/pulsar/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/pulsar/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/puppet/collector.go
+4
-3
@@ -43,9 +43,10 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
46
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
47
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
48
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
49
+ web.HTTPConfig `yaml:",inline" json:""`
50
}
51
52
type Collector struct {
src/go/plugin/go.d/collector/puppet/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The base URL where the Puppet instance can be accessed.",
@@ -124,6 +131,9 @@
131
"method": {
132
"ui:widget": "hidden"
133
},
134
+ "autodetection_retry": {
135
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
136
+ },
137
"vnode": {
138
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
139
},
@@ -143,6 +153,7 @@
153
"title": "Base",
154
"fields": [
155
"update_every",
156
+ "autodetection_retry",
157
"url",
158
"timeout",
159
"not_follow_redirects",
src/go/plugin/go.d/collector/puppet/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/puppet/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/rabbitmq/collector.go
+5
-4
@@ -49,10 +49,11 @@ func New() *Collector {
49
}
50
51
type Config struct {
52
- Vnode string `yaml:"vnode,omitempty" json:"vnode"`
53
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
54
- web.HTTPConfig `yaml:",inline" json:""`
55
- CollectQueues bool `yaml:"collect_queues_metrics" json:"collect_queues_metrics"`
52
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
53
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
54
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
55
+ web.HTTPConfig `yaml:",inline" json:""`
56
+ CollectQueues bool `yaml:"collect_queues_metrics" json:"collect_queues_metrics"`
57
}
58
59
type Collector struct {
src/go/plugin/go.d/collector/rabbitmq/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The base URL of the RabbitMQ [management API](https://rabbitmq-website.pages.dev/docs/management).",
@@ -130,6 +137,7 @@
137
"title": "Base",
138
"fields": [
139
"update_every",
140
+ "autodetection_retry",
141
"url",
142
"timeout",
143
"not_follow_redirects",
@@ -178,6 +186,9 @@
186
"method": {
187
"ui:widget": "hidden"
188
},
189
+ "autodetection_retry": {
190
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
191
+ },
192
"vnode": {
193
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
194
},
src/go/plugin/go.d/collector/rabbitmq/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/rabbitmq/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/redis/collector.go
+9
-8
@@ -47,14 +47,15 @@ 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"`
54
- Username string `yaml:"username,omitempty" json:"username"`
55
- Password string `yaml:"password,omitempty" json:"password"`
56
- tlscfg.TLSConfig `yaml:",inline" json:""`
57
- PingSamples int `yaml:"ping_samples" json:"ping_samples"`
50
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
51
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
52
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
53
+ Address string `yaml:"address" json:"address"`
54
+ Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
55
+ Username string `yaml:"username,omitempty" json:"username"`
56
+ Password string `yaml:"password,omitempty" json:"password"`
57
+ tlscfg.TLSConfig `yaml:",inline" json:""`
58
+ PingSamples int `yaml:"ping_samples" json:"ping_samples"`
59
}
60
61
type (
src/go/plugin/go.d/collector/redis/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"address": {
22
"title": "URI",
23
"description": "The URI specifying the connection details for the Redis server.",
@@ -83,6 +90,9 @@
90
"vnode": {
91
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
92
},
93
+ "autodetection_retry": {
94
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
95
+ },
96
"address": {
97
"ui:placeholder": "redis://user:password@host:port",
98
"ui:help": "Tcp connection: `redis://user:password@host:port`. Unix connection: `unix://user:password@/path/to/redis.sock`."
@@ -103,6 +113,7 @@
113
"title": "Base",
114
"fields": [
115
"update_every",
116
+ "autodetection_retry",
117
"address",
118
"timeout",
119
"ping_samples",
src/go/plugin/go.d/collector/redis/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"address": "ok",
6
"timeout": 123.123,
7
"username": "ok",
src/go/plugin/go.d/collector/redis/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
address: "ok"
5
timeout: 123.123
6
username: "ok"
src/go/plugin/go.d/collector/rethinkdb/collector.go
+7
-6
@@ -37,12 +37,13 @@ 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"`
44
- Username string `yaml:"username,omitempty" json:"username"`
45
- Password string `yaml:"password,omitempty" json:"password"`
40
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
41
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
42
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
43
+ Address string `yaml:"address" json:"address"`
44
+ Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
45
+ Username string `yaml:"username,omitempty" json:"username"`
46
+ Password string `yaml:"password,omitempty" json:"password"`
47
}
48
49
type Collector struct {
src/go/plugin/go.d/collector/rethinkdb/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"address": {
22
"title": "Address",
23
"description": "The IP address and port where the RethinkDB service listens for connections.",
@@ -56,6 +63,9 @@
63
"vnode": {
64
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
65
},
66
+ "autodetection_retry": {
67
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
68
+ },
69
"timeout": {
70
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
71
},
@@ -72,6 +82,7 @@
82
"title": "Base",
83
"fields": [
84
"update_every",
85
+ "autodetection_retry",
86
"address",
87
"timeout",
88
"vnode"
src/go/plugin/go.d/collector/rethinkdb/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"address": "ok",
6
"timeout": 123.123,
7
"username": "ok",
src/go/plugin/go.d/collector/rethinkdb/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
address: "ok"
5
timeout: 123.123
6
username: "ok"
src/go/plugin/go.d/collector/riakkv/collector.go
+4
-3
@@ -52,9 +52,10 @@ func New() *Collector {
52
}
53
54
type Config struct {
55
- Vnode string `yaml:"vnode,omitempty" json:"vnode"`
56
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
57
- web.HTTPConfig `yaml:",inline" json:""`
55
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
56
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
57
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
58
+ web.HTTPConfig `yaml:",inline" json:""`
59
}
60
61
type Collector struct {
src/go/plugin/go.d/collector/riakkv/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 2
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the RiakKV [Stat](https://docs.riak.com/riak/kv/2.2.3/developing/api/http/status.1.html) endpoint.",
@@ -124,6 +131,9 @@
131
"method": {
132
"ui:widget": "hidden"
133
},
134
+ "autodetection_retry": {
135
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
136
+ },
137
"vnode": {
138
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
139
},
@@ -152,6 +162,7 @@
162
"title": "Base",
163
"fields": [
164
"update_every",
165
+ "autodetection_retry",
166
"url",
167
"timeout",
168
"not_follow_redirects",
src/go/plugin/go.d/collector/riakkv/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/riakkv/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/rspamd/collector.go
+4
-3
@@ -43,9 +43,10 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
46
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
47
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
48
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
49
+ web.HTTPConfig `yaml:",inline" json:""`
50
}
51
52
type Collector struct {
src/go/plugin/go.d/collector/rspamd/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The base URL of the Rspamd [controller worker](https://rspamd.com/doc/workers/controller.html).",
@@ -124,6 +131,9 @@
131
"method": {
132
"ui:widget": "hidden"
133
},
134
+ "autodetection_retry": {
135
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
136
+ },
137
"vnode": {
138
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
139
},
@@ -149,6 +159,7 @@
159
"title": "Base",
160
"fields": [
161
"update_every",
162
+ "autodetection_retry",
163
"url",
164
"timeout",
165
"not_follow_redirects",
src/go/plugin/go.d/collector/rspamd/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/rspamd/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/scaleio/collector.go
+4
-3
@@ -44,9 +44,10 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
47
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
48
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
49
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
50
+ web.HTTPConfig `yaml:",inline" json:""`
51
}
52
53
type (
src/go/plugin/go.d/collector/scaleio/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The base URL of the VxFlex OS Gateway API.",
@@ -122,6 +129,7 @@
129
"title": "Base",
130
"fields": [
131
"update_every",
132
+ "autodetection_retry",
133
"url",
134
"timeout",
135
"not_follow_redirects",
@@ -169,6 +177,9 @@
177
"method": {
178
"ui:widget": "hidden"
179
},
180
+ "autodetection_retry": {
181
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
182
+ },
183
"vnode": {
184
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
185
},
src/go/plugin/go.d/collector/scaleio/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/scaleio/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/spigotmc/collector.go
+6
-5
@@ -35,11 +35,12 @@ 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"`
42
- Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
38
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
39
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
40
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
41
+ Address string `yaml:"address" json:"address"`
42
+ Password string `yaml:"password" json:"password"`
43
+ Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
44
}
45
46
type Collector struct {
src/go/plugin/go.d/collector/spigotmc/config_schema.json
+10
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"address": {
22
"title": "Address",
23
"description": "The IP address and port where the SpigotMC server listens for RCON connections.",
@@ -50,6 +57,9 @@
57
"vnode": {
58
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
59
},
60
+ "autodetection_retry": {
61
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
62
+ },
63
"password": {
64
"ui:widget": "password"
65
},
src/go/plugin/go.d/collector/spigotmc/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"address": "ok",
6
"password": "ok",
7
"timeout": 123.123
src/go/plugin/go.d/collector/spigotmc/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
address: "ok"
5
password: "ok"
6
timeout: 123.123
src/go/plugin/go.d/collector/squid/collector.go
+4
-3
@@ -43,9 +43,10 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
46
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
47
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
48
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
49
+ web.HTTPConfig `yaml:",inline" json:""`
50
}
51
52
type Collector struct {
src/go/plugin/go.d/collector/squid/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The base URL where the Squid endpoint can be accessed.",
@@ -124,6 +131,9 @@
131
"method": {
132
"ui:widget": "hidden"
133
},
134
+ "autodetection_retry": {
135
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
136
+ },
137
"vnode": {
138
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
139
},
@@ -143,6 +153,7 @@
153
"title": "Base",
154
"fields": [
155
"update_every",
156
+ "autodetection_retry",
157
"url",
158
"timeout",
159
"not_follow_redirects",
src/go/plugin/go.d/collector/squid/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/squid/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/supervisord/collector.go
+5
-4
@@ -40,10 +40,11 @@ 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:""`
43
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
44
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
45
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
46
+ URL string `yaml:"url" json:"url"`
47
+ web.ClientConfig `yaml:",inline" json:""`
48
}
49
50
type Collector struct {
src/go/plugin/go.d/collector/supervisord/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the Supervisord [XML-RPC interface](http://supervisord.org/xmlrpc.html#rpcinterface-factories).",
@@ -65,6 +72,9 @@
72
"vnode": {
73
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
74
},
75
+ "autodetection_retry": {
76
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
77
+ },
78
"timeout": {
79
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
80
},
@@ -75,6 +85,7 @@
85
"title": "Base",
86
"fields": [
87
"update_every",
88
+ "autodetection_retry",
89
"url",
90
"timeout",
91
"vnode"
src/go/plugin/go.d/collector/supervisord/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"timeout": 123.123,
7
"not_follow_redirects": true,
src/go/plugin/go.d/collector/supervisord/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
timeout: 123.123
6
not_follow_redirects: yes
src/go/plugin/go.d/collector/tengine/collector.go
+4
-3
@@ -43,9 +43,10 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
46
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
47
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
48
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
49
+ web.HTTPConfig `yaml:",inline" json:""`
50
}
51
52
type Collector struct {
src/go/plugin/go.d/collector/tengine/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the Tengine [status page](https://tengine.taobao.org/document/http_reqstat.html).",
@@ -122,6 +129,7 @@
129
"title": "Base",
130
"fields": [
131
"update_every",
132
+ "autodetection_retry",
133
"url",
134
"timeout",
135
"not_follow_redirects",
@@ -169,6 +177,9 @@
177
"method": {
178
"ui:widget": "hidden"
179
},
180
+ "autodetection_retry": {
181
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
182
+ },
183
"vnode": {
184
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
185
},
src/go/plugin/go.d/collector/tengine/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/tengine/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/tomcat/collector.go
+4
-3
@@ -45,9 +45,10 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
48
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
49
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
50
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
51
+ web.HTTPConfig `yaml:",inline" json:""`
52
}
53
54
type Collector struct {
src/go/plugin/go.d/collector/tomcat/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The base URL of the Tomcat server.",
@@ -124,6 +131,9 @@
131
"method": {
132
"ui:widget": "hidden"
133
},
134
+ "autodetection_retry": {
135
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
136
+ },
137
"vnode": {
138
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
139
},
@@ -149,6 +159,7 @@
159
"title": "Base",
160
"fields": [
161
"update_every",
162
+ "autodetection_retry",
163
"url",
164
"timeout",
165
"not_follow_redirects",
src/go/plugin/go.d/collector/tomcat/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/tomcat/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/tor/collector.go
+6
-5
@@ -35,11 +35,12 @@ 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"`
42
- Password string `yaml:"password" json:"password"`
38
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
39
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
40
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
41
+ Address string `yaml:"address" json:"address"`
42
+ Timeout confopt.Duration `yaml:"timeout" json:"timeout"`
43
+ Password string `yaml:"password" json:"password"`
44
}
45
46
type Collector struct {
src/go/plugin/go.d/collector/tor/config_schema.json
+10
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"address": {
22
"title": "Address",
23
"description": "The IP address and port where the Tor's Control Port listens for connections.",
@@ -50,6 +57,9 @@
57
"vnode": {
58
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
59
},
60
+ "autodetection_retry": {
61
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
62
+ },
63
"timeout": {
64
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
65
},
src/go/plugin/go.d/collector/tor/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"address": "ok",
6
"timeout": 123.123,
7
"password": "ok"
src/go/plugin/go.d/collector/tor/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
address: "ok"
5
timeout: 123.123
6
password: "ok"
src/go/plugin/go.d/collector/traefik/collector.go
+4
-3
@@ -48,9 +48,10 @@ func New() *Collector {
48
}
49
50
type Config struct {
51
- Vnode string `yaml:"vnode,omitempty" json:"vnode"`
52
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
53
- web.HTTPConfig `yaml:",inline" json:""`
51
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
52
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
53
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
54
+ web.HTTPConfig `yaml:",inline" json:""`
55
}
56
57
type (
src/go/plugin/go.d/collector/traefik/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the Traefik metrics endpoint.",
@@ -122,6 +129,7 @@
129
"title": "Base",
130
"fields": [
131
"update_every",
132
+ "autodetection_retry",
133
"url",
134
"timeout",
135
"not_follow_redirects",
@@ -169,6 +177,9 @@
177
"method": {
178
"ui:widget": "hidden"
179
},
180
+ "autodetection_retry": {
181
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
182
+ },
183
"vnode": {
184
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
185
},
src/go/plugin/go.d/collector/traefik/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/traefik/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/typesense/collector.go
+5
-4
@@ -45,10 +45,11 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
51
- APIKey string `yaml:"api_key,omitempty" json:"api_key"`
48
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
49
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
50
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
51
+ web.HTTPConfig `yaml:",inline" json:""`
52
+ APIKey string `yaml:"api_key,omitempty" json:"api_key"`
53
}
54
55
type Collector struct {
src/go/plugin/go.d/collector/typesense/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The base URL of the Typesense server.",
@@ -130,6 +137,9 @@
137
"method": {
138
"ui:widget": "hidden"
139
},
140
+ "autodetection_retry": {
141
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
142
+ },
143
"vnode": {
144
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
145
},
@@ -158,6 +168,7 @@
168
"title": "Base",
169
"fields": [
170
"update_every",
171
+ "autodetection_retry",
172
"url",
173
"timeout",
174
"not_follow_redirects",
src/go/plugin/go.d/collector/typesense/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"api_key": "ok",
7
"body": "ok",
src/go/plugin/go.d/collector/typesense/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
api_key: "ok"
6
body: "ok"
src/go/plugin/go.d/collector/unbound/collector.go
+9
-8
@@ -46,14 +46,15 @@ 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"`
53
- Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
54
- Cumulative bool `yaml:"cumulative_stats" json:"cumulative_stats"`
55
- UseTLS bool `yaml:"use_tls,omitempty" json:"use_tls"`
56
- tlscfg.TLSConfig `yaml:",inline" json:""`
49
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
50
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
51
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
52
+ Address string `yaml:"address" json:"address"`
53
+ ConfPath string `yaml:"conf_path,omitempty" json:"conf_path"`
54
+ Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
55
+ Cumulative bool `yaml:"cumulative_stats" json:"cumulative_stats"`
56
+ UseTLS bool `yaml:"use_tls,omitempty" json:"use_tls"`
57
+ tlscfg.TLSConfig `yaml:",inline" json:""`
58
}
59
60
type Collector struct {
src/go/plugin/go.d/collector/unbound/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"address": {
22
"title": "Address",
23
"description": "The IP address and port where the Unbound server listens for connections.",
@@ -88,6 +95,9 @@
95
"vnode": {
96
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
97
},
98
+ "autodetection_retry": {
99
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
100
+ },
101
"timeout": {
102
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
103
},
@@ -98,6 +108,7 @@
108
"title": "Base",
109
"fields": [
110
"update_every",
111
+ "autodetection_retry",
112
"address",
113
"timeout",
114
"conf_path",
src/go/plugin/go.d/collector/unbound/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"address": "ok",
6
"conf_path": "ok",
7
"timeout": 123.123,
src/go/plugin/go.d/collector/unbound/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
address: "ok"
5
conf_path: "ok"
6
timeout: 123.123
src/go/plugin/go.d/collector/upsd/collector.go
+7
-6
@@ -36,12 +36,13 @@ 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"`
43
- Username string `yaml:"username,omitempty" json:"username"`
44
- Password string `yaml:"password,omitempty" json:"password"`
39
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
40
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
41
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
42
+ Address string `yaml:"address" json:"address"`
43
+ Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
44
+ Username string `yaml:"username,omitempty" json:"username"`
45
+ Password string `yaml:"password,omitempty" json:"password"`
46
}
47
48
type Collector struct {
src/go/plugin/go.d/collector/upsd/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"address": {
22
"title": "Address",
23
"description": "The IP address and port where the UPSd daemon listens for connections.",
@@ -62,6 +69,9 @@
69
"vnode": {
70
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
71
},
72
+ "autodetection_retry": {
73
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
74
+ },
75
"timeout": {
76
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
77
},
@@ -75,6 +85,7 @@
85
"title": "Base",
86
"fields": [
87
"update_every",
88
+ "autodetection_retry",
89
"address",
90
"timeout",
91
"vnode"
src/go/plugin/go.d/collector/upsd/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"address": "ok",
6
"username": "ok",
7
"password": "ok",
src/go/plugin/go.d/collector/upsd/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
address: "ok"
5
username: "ok"
6
password: "ok"
src/go/plugin/go.d/collector/uwsgi/collector.go
+5
-4
@@ -35,10 +35,11 @@ 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"`
38
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
39
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
40
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
41
+ Address string `yaml:"address" json:"address"`
42
+ Timeout confopt.Duration `yaml:"timeout" json:"timeout"`
43
}
44
45
type Collector struct {
src/go/plugin/go.d/collector/uwsgi/config_schema.json
+10
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"address": {
22
"title": "Address",
23
"description": "The IP address and port where the UWSGI [Stats Server](https://uwsgi-docs.readthedocs.io/en/latest/StatsServer.html) listens for connections.",
@@ -44,6 +51,9 @@
51
"vnode": {
52
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
53
},
54
+ "autodetection_retry": {
55
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
56
+ },
57
"timeout": {
58
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
59
}
src/go/plugin/go.d/collector/uwsgi/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"address": "ok",
6
"timeout": 123.123
7
}
src/go/plugin/go.d/collector/uwsgi/testdata/config.yaml
+1
@@ -1,4 +1,5 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
address: "ok"
5
timeout: 123.123
src/go/plugin/go.d/collector/vcsa/collector.go
+4
-3
@@ -42,9 +42,10 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
45
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
46
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
47
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
48
+ web.HTTPConfig `yaml:",inline" json:""`
49
}
50
51
type (
src/go/plugin/go.d/collector/vcsa/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The base URL of the VCSA server.",
@@ -121,6 +128,7 @@
128
"title": "Base",
129
"fields": [
130
"update_every",
131
+ "autodetection_retry",
132
"url",
133
"timeout",
134
"not_follow_redirects",
@@ -168,6 +176,9 @@
176
"method": {
177
"ui:widget": "hidden"
178
},
179
+ "autodetection_retry": {
180
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
181
+ },
182
"vnode": {
183
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
184
},
src/go/plugin/go.d/collector/vcsa/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/vcsa/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/vernemq/collector.go
+4
-3
@@ -44,9 +44,10 @@ 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
- web.HTTPConfig `yaml:",inline" json:""`
47
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
48
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
49
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
50
+ web.HTTPConfig `yaml:",inline" json:""`
51
}
52
53
type Collector struct {
src/go/plugin/go.d/collector/vernemq/config_schema.json
+11
@@ -18,6 +18,13 @@
18
"default": "http://127.0.0.1:8888/metrics",
19
"format": "uri"
20
},
21
+ "autodetection_retry": {
22
+ "title": "Detection retry",
23
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
24
+ "type": "integer",
25
+ "minimum": 0,
26
+ "default": 60
27
+ },
28
"timeout": {
29
"title": "Timeout",
30
"description": "The timeout in seconds for the HTTP request.",
@@ -122,6 +129,7 @@
129
"title": "Base",
130
"fields": [
131
"update_every",
132
+ "autodetection_retry",
133
"url",
134
"timeout",
135
"not_follow_redirects",
@@ -169,6 +177,9 @@
177
"method": {
178
"ui:widget": "hidden"
179
},
180
+ "autodetection_retry": {
181
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
182
+ },
183
"vnode": {
184
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
185
},
src/go/plugin/go.d/collector/vernemq/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/vernemq/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/vsphere/collector.go
+7
-6
@@ -53,12 +53,13 @@ func New() *Collector {
53
}
54
55
type Config struct {
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"`
61
- VMsInclude match.VMIncludes `yaml:"vm_include,omitempty" json:"vm_include"`
56
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
57
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
58
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
59
+ web.HTTPConfig `yaml:",inline" json:""`
60
+ DiscoveryInterval confopt.Duration `yaml:"discovery_interval,omitempty" json:"discovery_interval"`
61
+ HostsInclude match.HostIncludes `yaml:"host_include,omitempty" json:"host_include"`
62
+ VMsInclude match.VMIncludes `yaml:"vm_include,omitempty" json:"vm_include"`
63
}
64
65
type (
src/go/plugin/go.d/collector/vsphere/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 20
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The base URL of the VMware vCenter Server.",
@@ -173,6 +180,7 @@
180
"title": "Base",
181
"fields": [
182
"update_every",
183
+ "autodetection_retry",
184
"url",
185
"timeout",
186
"discovery_interval",
@@ -225,6 +233,9 @@
233
"method": {
234
"ui:widget": "hidden"
235
},
236
+ "autodetection_retry": {
237
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
238
+ },
239
"vnode": {
240
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
241
},
src/go/plugin/go.d/collector/vsphere/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/vsphere/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/yugabytedb/collector.go
+4
-3
@@ -49,9 +49,10 @@ func New() *Collector {
49
}
50
51
type Config struct {
52
- Vnode string `yaml:"vnode,omitempty" json:"vnode"`
53
- UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
54
- web.HTTPConfig `yaml:",inline" json:""`
52
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
53
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
54
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
55
+ web.HTTPConfig `yaml:",inline" json:""`
56
}
57
58
type Collector struct {
src/go/plugin/go.d/collector/yugabytedb/config_schema.json
+10
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 5
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"url": {
22
"title": "URL",
23
"description": "The URL of the YugabyteDB Prometheus endpoint.",
@@ -124,6 +131,9 @@
131
"method": {
132
"ui:widget": "hidden"
133
},
134
+ "autodetection_retry": {
135
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
136
+ },
137
"vnode": {
138
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
139
},
src/go/plugin/go.d/collector/yugabytedb/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"url": "ok",
6
"body": "ok",
7
"method": "ok",
src/go/plugin/go.d/collector/yugabytedb/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
url: "ok"
5
body: "ok"
6
method: "ok"
src/go/plugin/go.d/collector/zookeeper/collector.go
+7
-6
@@ -35,12 +35,13 @@ 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"`
42
- tlscfg.TLSConfig `yaml:",inline" json:""`
43
- UseTLS bool `yaml:"use_tls,omitempty" json:"use_tls"`
38
+ Vnode string `yaml:"vnode,omitempty" json:"vnode"`
39
+ UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
40
+ AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
41
+ Address string `yaml:"address" json:"address"`
42
+ Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
43
+ tlscfg.TLSConfig `yaml:",inline" json:""`
44
+ UseTLS bool `yaml:"use_tls,omitempty" json:"use_tls"`
45
}
46
47
type Collector struct {
src/go/plugin/go.d/collector/zookeeper/config_schema.json
+11
@@ -11,6 +11,13 @@
11
"minimum": 1,
12
"default": 1
13
},
14
+ "autodetection_retry": {
15
+ "title": "Detection retry",
16
+ "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17
+ "type": "integer",
18
+ "minimum": 0,
19
+ "default": 60
20
+ },
21
"address": {
22
"title": "Address",
23
"description": "The IP address and port where the Zookeeper server listens for connections.",
@@ -72,6 +79,9 @@
79
"vnode": {
80
"ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
81
},
82
+ "autodetection_retry": {
83
+ "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
84
+ },
85
"timeout": {
86
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
87
},
@@ -82,6 +92,7 @@
92
"title": "Base",
93
"fields": [
94
"update_every",
95
+ "autodetection_retry",
96
"address",
97
"timeout",
98
"vnode"
src/go/plugin/go.d/collector/zookeeper/testdata/config.json
+1
@@ -1,6 +1,7 @@
1
{
2
"vnode": "ok",
3
"update_every": 123,
4
+ "autodetection_retry": 123,
5
"address": "ok",
6
"timeout": 123.123,
7
"use_tls": true,
src/go/plugin/go.d/collector/zookeeper/testdata/config.yaml
+1
@@ -1,5 +1,6 @@
1
vnode: "ok"
2
update_every: 123
3
+autodetection_retry: 123
4
address: "ok"
5
timeout: 123.123
6
use_tls: yes