summaryrefslogtreecommitdiffstats
path: root/integrations/schemas/exporter.json
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-08-10 09:18:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-08-10 09:18:49 +0000
commitdd814a7c1a8de056a79f7238578b09236edd5506 (patch)
tree429e7eed5a634a4efe9a6877ce66da8e64aa1782 /integrations/schemas/exporter.json
parentAdding upstream version 1.41.0. (diff)
downloadnetdata-f2412a44d03144f2b402591befe2dbc00e842029.tar.xz
netdata-f2412a44d03144f2b402591befe2dbc00e842029.zip
Adding upstream version 1.42.0.upstream/1.42.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'integrations/schemas/exporter.json')
-rw-r--r--integrations/schemas/exporter.json63
1 files changed, 63 insertions, 0 deletions
diff --git a/integrations/schemas/exporter.json b/integrations/schemas/exporter.json
new file mode 100644
index 000000000..51c45cabb
--- /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"
+ ]
+ }
+ }
+}