@cryptotaxi247 / netdata-1 / commits / 0e2a9c1d2

collector meta: remove meta.alternative_monitored_instances (#15445)

Ilya Mashchenko committed Jul 18, 2023 at 21:53 UTC 0e2a9c1d2ea9c866e50f1b70d4c9cddb1f256da3
1 file changed +30 -40
collectors/metadata/schemas/single-module.json
+30 -40
@@ -15,13 +15,36 @@
15 "description": "Module name (e.g. apache, /proc/stat, httpcheck). It usually has the same name as the module configuration file (external plugin) or the section name in netdata.conf (internal plugin)."
16 },
17 "monitored_instance": {
18 - "$ref": "#/$defs/_monitored_instance"
19 - },
20 - "alternative_monitored_instances": {
21 - "type": "array",
22 - "items": {
23 - "$ref": "#/$defs/_monitored_instance"
24 - }
18 + "type": "object",
19 + "description": "Information about the monitored instance (metrics source).",
20 + "properties": {
21 + "name": {
22 + "description": "Metrics source name (e.g. VerneMQ, Network interfaces, Files and directories). Use official spelling for applications.",
23 + "type": "string"
24 + },
25 + "link": {
26 + "description": "Link to the monitored instance official website if any.",
27 + "type": "string"
28 + },
29 + "categories": {
30 + "type": "array",
31 + "description": "Category IDs that this integration falls into. IDs can be found in integrations/categories.yaml",
32 + "items": {
33 + "type": "string",
34 + "description": "String defining integration category"
35 + }
36 + },
37 + "icon_filename": {
38 + "type": "string",
39 + "description": "The filename of the integration's icon, as sourced from https://github.com/netdata/website/tree/master/themes/tailwind/static/img."
40 + }
41 + },
42 + "required": [
43 + "name",
44 + "link",
45 + "categories",
46 + "icon_filename"
47 + ]
48 },
49 "keywords": {
50 "type": "array",
@@ -91,7 +114,6 @@
114 "plugin_name",
115 "module_name",
116 "monitored_instance",
94 - "alternative_monitored_instances",
117 "keywords",
118 "related_resources",
119 "info_provided_to_referring_integrations",
@@ -635,38 +657,6 @@
657 "required": [
658 "enabled"
659 ]
638 - },
639 - "_monitored_instance": {
640 - "type": "object",
641 - "description": "Information about the monitored instance (metrics source).",
642 - "properties": {
643 - "name": {
644 - "description": "Metrics source name (e.g. VerneMQ, Network interfaces, Files and directories). Use official spelling for applications.",
645 - "type": "string"
646 - },
647 - "link": {
648 - "description": "Link to the monitored instance official website if any.",
649 - "type": "string"
650 - },
651 - "categories": {
652 - "type": "array",
653 - "description": "Category IDs that this integration falls into. IDs can be found in integrations/categories.yaml",
654 - "items": {
655 - "type": "string",
656 - "description": "String defining integration category"
657 - }
658 - },
659 - "icon_filename": {
660 - "type": "string",
661 - "description": "The filename of the integration's icon, as sourced from https://github.com/netdata/website/tree/master/themes/tailwind/static/img."
662 - }
663 - },
664 - "required": [
665 - "name",
666 - "link",
667 - "categories",
668 - "icon_filename"
669 - ]
660 }
661 }
662 }