gateway.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "debug": true,
  3. "minStep": 30,
  4. "http": {
  5. "enabled": true,
  6. "listen": "0.0.0.0:16060"
  7. },
  8. "rpc": {
  9. "enabled": true,
  10. "listen": "0.0.0.0:18433"
  11. },
  12. "socket": {
  13. "enabled": true,
  14. "listen": "0.0.0.0:14444",
  15. "timeout": 3600
  16. },
  17. "judge": {
  18. "enabled": false,
  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": false,
  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": true,
  53. "batch": 200,
  54. "connTimeout": 1000,
  55. "callTimeout": 5000,
  56. "maxConns": 32,
  57. "maxIdle": 32,
  58. "retry": 3,
  59. "cluster": {
  60. "t1": "%%TRANSFER_RPC%%"
  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. }