stats-schema.spec.in 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "module_spec": {
  3. "module_name": "Stats",
  4. "module_description": "Statistics data schema",
  5. "config_data": [
  6. {
  7. "item_name": "report_time",
  8. "item_type": "string",
  9. "item_optional": false,
  10. "item_default": "1970-01-01T00:00:00Z",
  11. "item_title": "Report time",
  12. "item_description": "A date time when stats module reports",
  13. "item_format": "date-time"
  14. },
  15. {
  16. "item_name": "bind10.boot_time",
  17. "item_type": "string",
  18. "item_optional": false,
  19. "item_default": "1970-01-01T00:00:00Z",
  20. "item_title": "bind10.BootTime",
  21. "item_description": "A date time when bind10 process starts initially",
  22. "item_format": "date-time"
  23. },
  24. {
  25. "item_name": "stats.boot_time",
  26. "item_type": "string",
  27. "item_optional": false,
  28. "item_default": "1970-01-01T00:00:00Z",
  29. "item_title": "stats.BootTime",
  30. "item_description": "A date time when the stats module starts initially or when the stats module restarts",
  31. "item_format": "date-time"
  32. },
  33. {
  34. "item_name": "stats.start_time",
  35. "item_type": "string",
  36. "item_optional": false,
  37. "item_default": "1970-01-01T00:00:00Z",
  38. "item_title": "stats.StartTime",
  39. "item_description": "A date time when the stats module starts collecting data or resetting values last time",
  40. "item_format": "date-time"
  41. },
  42. {
  43. "item_name": "stats.last_update_time",
  44. "item_type": "string",
  45. "item_optional": false,
  46. "item_default": "1970-01-01T00:00:00Z",
  47. "item_title": "stats.LastUpdateTime",
  48. "item_description": "The latest date time when the stats module receives from other modules like auth server or boss process and so on",
  49. "item_format": "date-time"
  50. },
  51. {
  52. "item_name": "stats.timestamp",
  53. "item_type": "real",
  54. "item_optional": false,
  55. "item_default": 0.0,
  56. "item_title": "stats.Timestamp",
  57. "item_description": "A current time stamp since epoch time (1970-01-01T00:00:00Z)",
  58. "item_format": "second"
  59. },
  60. {
  61. "item_name": "stats.lname",
  62. "item_type": "string",
  63. "item_optional": false,
  64. "item_default": "",
  65. "item_title": "stats.LocalName",
  66. "item_description": "A localname of stats module given via CC protocol"
  67. },
  68. {
  69. "item_name": "auth.queries.tcp",
  70. "item_type": "integer",
  71. "item_optional": false,
  72. "item_default": 0,
  73. "item_title": "auth.queries.tcp",
  74. "item_description": "A number of total query counts which all auth servers receive over TCP since they started initially"
  75. },
  76. {
  77. "item_name": "auth.queries.udp",
  78. "item_type": "integer",
  79. "item_optional": false,
  80. "item_default": 0,
  81. "item_title": "auth.queries.udp",
  82. "item_description": "A number of total query counts which all auth servers receive over UDP since they started initially"
  83. }
  84. ],
  85. "commands": []
  86. }
  87. }