transfer.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "debug": true,
  3. "minStep": 30,
  4. "http": {
  5. "enabled": true,
  6. "listen": "%%TRANSFER_HTTP%%"
  7. },
  8. "rpc": {
  9. "enabled": true,
  10. "listen": "%%TRANSFER_RPC%%"
  11. },
  12. "socket": {
  13. "enabled": true,
  14. "listen": "0.0.0.0:4444",
  15. "timeout": 3600
  16. },
  17. "judge": {
  18. "enabled": true,
  19. "batch": 200,
  20. "connTimeout": 1000,
  21. "callTimeout": 5000,
  22. "maxConns": 32,
  23. "maxIdle": 32,
  24. "replicas": 500,
  25. "cluster": {
  26. "judge-00" : "%%JUDGE_RPC%%"
  27. }
  28. },
  29. "graph": {
  30. "enabled": true,
  31. "batch": 200,
  32. "connTimeout": 1000,
  33. "callTimeout": 5000,
  34. "maxConns": 32,
  35. "maxIdle": 32,
  36. "replicas": 500,
  37. "cluster": {
  38. "graph-00" : "%%GRAPH_RPC%%"
  39. }
  40. },
  41. "tsdb": {
  42. "enabled": false,
  43. "batch": 200,
  44. "connTimeout": 1000,
  45. "callTimeout": 5000,
  46. "maxConns": 32,
  47. "maxIdle": 32,
  48. "retry": 3,
  49. "address": "127.0.0.1:8088"
  50. },
  51. "transfer": {
  52. "enabled": false,
  53. "batch": 200,
  54. "connTimeout": 1000,
  55. "callTimeout": 5000,
  56. "maxConns": 32,
  57. "maxIdle": 32,
  58. "retry": 3,
  59. "cluster": {
  60. "t1": "127.0.0.1:8433"
  61. }
  62. },
  63. "influxdb": {
  64. "enabled": false,
  65. "batch": 200,
  66. "retry": 3,
  67. "maxConns": 32,
  68. "username": "admin",
  69. "password": "123456",
  70. "precision": "s",
  71. "db": "foo",
  72. "address": "http://127.0.0.1:8086",
  73. "timeout": 5000
  74. },
  75. "p8s_relay": {
  76. "enabled": false,
  77. "batch": 200,
  78. "connTimeout": 1000,
  79. "callTimeout": 5000,
  80. "maxConns": 32,
  81. "maxIdle": 32,
  82. "replicas": 500,
  83. "notSyncMetrics": [
  84. "gpu.",
  85. "snmp."
  86. ],
  87. "cluster": {
  88. "p8s-relay-00" : "192.168.1.1:8080",
  89. "p8s-relay-01" : "192.168.1.2:8080"
  90. }
  91. }
  92. }