exporter.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "$schema": "http://json-schema.org/draft-07/schema#",
  3. "title": "Netdata Agent data exporter metadata.",
  4. "oneOf": [
  5. {
  6. "$ref": "#/$defs/entry"
  7. },
  8. {
  9. "type": "array",
  10. "minLength": 1,
  11. "items": {
  12. "$ref": "#/$defs/entry"
  13. }
  14. }
  15. ],
  16. "$defs": {
  17. "entry": {
  18. "type": "object",
  19. "properties": {
  20. "id": {
  21. "$ref": "./shared.json#/$defs/id"
  22. },
  23. "meta": {
  24. "$ref": "./shared.json#/$defs/instance"
  25. },
  26. "keywords": {
  27. "$ref": "./shared.json#/$defs/keywords"
  28. },
  29. "overview": {
  30. "type": "object",
  31. "description": "General information about the exporter.",
  32. "properties": {
  33. "exporter_description": {
  34. "type": "string",
  35. "description": "General description of what the exporter does."
  36. },
  37. "exporter_limitations": {
  38. "type": "string",
  39. "description": "Explanation of any limitations of the exporter."
  40. }
  41. },
  42. "required": [
  43. "exporter_description",
  44. "exporter_limitations"
  45. ]
  46. },
  47. "setup": {
  48. "$ref": "./shared.json#/$defs/full_setup"
  49. },
  50. "troubleshooting": {
  51. "$ref": "./shared.json#/$defs/troubleshooting"
  52. }
  53. },
  54. "required": [
  55. "id",
  56. "meta",
  57. "keywords",
  58. "overview",
  59. "setup"
  60. ]
  61. }
  62. }
  63. }