From dd814a7c1a8de056a79f7238578b09236edd5506 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 10 Aug 2023 11:18:49 +0200 Subject: Adding upstream version 1.42.0. Signed-off-by: Daniel Baumann --- integrations/schemas/exporter.json | 63 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 integrations/schemas/exporter.json (limited to 'integrations/schemas/exporter.json') diff --git a/integrations/schemas/exporter.json b/integrations/schemas/exporter.json new file mode 100644 index 00000000..51c45cab --- /dev/null +++ b/integrations/schemas/exporter.json @@ -0,0 +1,63 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Netdata Agent data exporter metadata.", + "oneOf": [ + { + "$ref": "#/$defs/entry" + }, + { + "type": "array", + "minLength": 1, + "items": { + "$ref": "#/$defs/entry" + } + } + ], + "$defs": { + "entry": { + "type": "object", + "properties": { + "id": { + "$ref": "./shared.json#/$defs/id" + }, + "meta": { + "$ref": "./shared.json#/$defs/instance" + }, + "keywords": { + "$ref": "./shared.json#/$defs/keywords" + }, + "overview": { + "type": "object", + "description": "General information about the exporter.", + "properties": { + "exporter_description": { + "type": "string", + "description": "General description of what the exporter does." + }, + "exporter_limitations": { + "type": "string", + "description": "Explanation of any limitations of the exporter." + } + }, + "required": [ + "exporter_description", + "exporter_limitations" + ] + }, + "setup": { + "$ref": "./shared.json#/$defs/full_setup" + }, + "troubleshooting": { + "$ref": "./shared.json#/$defs/troubleshooting" + } + }, + "required": [ + "id", + "meta", + "keywords", + "overview", + "setup" + ] + } + } +} -- cgit v1.2.3