0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-08 15:20:11 +00:00
netdata_netdata/integrations/schemas/exporter.json
Austin S. Hemmelgarn f1a28f5137
Fix handling of troubleshooting section in integrations. ()
* Fix handling of troubleshooting section in integrations.

* Fix plugin_name key path.
2023-08-02 18:02:17 +05:30

63 lines
1.5 KiB
JSON

{
"$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"
]
}
}
}