fix schema validation for some meta files (#15569)
Ilya Mashchenko committed
Jul 27, 2023 at 11:54 UTC
bab44859e67beb641308e60d5009902296bd77e1
9 files changed
+14
-12
collectors/apps.plugin/multi_metadata.yaml
+1
-1
@@ -1,4 +1,4 @@
1
-name: apps.plugin
1
+plugin_name: apps.plugin
2
modules:
3
# removed system.processes_state
4
- meta:
collectors/cgroups.plugin/multi_metadata.yaml
+1
-1
@@ -1,4 +1,4 @@
1
-name: cgroups.plugin
1
+plugin_name: cgroups.plugin
2
modules:
3
- &module
4
meta: &meta
collectors/debugfs.plugin/multi_metadata.yaml
+1
-1
@@ -1,4 +1,4 @@
1
-name: debugfs.plugin
1
+plugin_name: debugfs.plugin
2
modules:
3
- meta:
4
plugin_name: debugfs.plugin
collectors/ebpf.plugin/multi_metadata.yaml
+1
-1
@@ -1,4 +1,4 @@
1
-name: ebpf.plugin
1
+plugin_name: ebpf.plugin
2
modules:
3
- meta:
4
plugin_name: ebpf.plugin
collectors/freebsd.plugin/multi_metadata.yaml
+1
-1
@@ -1,4 +1,4 @@
1
-name: freebsd.plugin
1
+plugin_name: freebsd.plugin
2
modules:
3
- meta:
4
plugin_name: freebsd.plugin
collectors/idlejitter.plugin/metadata.yaml
+1
-1
@@ -56,7 +56,7 @@ setup:
56
- name: loop time in ms
57
description: >
58
Specifies the target time for the data collection thread to sleep, measured in miliseconds.
59
- default: 20
59
+ default_value: 20
60
required: false
61
examples:
62
folding:
collectors/macos.plugin/multi_metadata.yaml
+1
-1
@@ -1,4 +1,4 @@
1
-name: macos.plugin
1
+plugin_name: macos.plugin
2
modules:
3
- meta:
4
plugin_name: macos.plugin
collectors/nfacct.plugin/metadata.yaml
+6
-4
@@ -33,8 +33,10 @@ overview:
33
description: ''
34
setup:
35
prerequisites:
36
- list: |
37
- It is necessary to have `libmnl` installed on host.
36
+ list:
37
+ - title: Install required packages
38
+ description: |
39
+ Install `libmnl-dev` and `libnetfilter-acct-dev` using the package manager of your system.
40
configuration:
41
file:
42
name: 'netdata.conf'
@@ -45,14 +47,14 @@ setup:
47
folding:
48
title: 'Config options'
49
enabled: true
48
- list: |
50
+ list:
51
- name: update every
52
description: Data collection frequency.
53
default_value: 1
54
required: false
55
- name: command options
56
description: Additinal parameters for collector
55
- default_value:
57
+ default_value: ""
58
required: false
59
examples:
60
folding:
collectors/proc.plugin/multi_metadata.yaml
+1
-1
@@ -1,4 +1,4 @@
1
-name: proc.plugin
1
+plugin_name: proc.plugin
2
modules:
3
- meta:
4
plugin_name: proc.plugin