数据解析模块
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

explorer.toml 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. # This is a automacically generated configuration file for Explorer in [TOML](https://toml.io/) format.
  2. #
  3. # Here is a full list of available options.
  4. # Explorer server port to listen on.
  5. # Default is 6060.
  6. #
  7. port = 6060
  8. # IPv4 listen address.
  9. # Default is 0.0.0.0
  10. addr = "0.0.0.0"
  11. # IPv6 listen address.
  12. # ipv6 = "::1"
  13. # explorer server instance id
  14. #
  15. # The instanceId of each instance is unique on the host
  16. # instanceId = 1
  17. # Explorer server log level.
  18. # Default is "info"
  19. #
  20. # Deprecated: use log.level instead
  21. log_level = "info"
  22. # All data files are stored in this directory
  23. # data_dir = "/var/lib/taos/explorer" # Default for Linux
  24. # data_dir = "C:\\TDengine\\data\\explorer" # Default for Windows
  25. # REST API endpoint to connect to the cluster.
  26. # This configuration is also the target for data migration tasks.
  27. #
  28. # Default is "http://localhost:6041" - the default endpoint for REST API.
  29. # Note: taos-explorer now uses native connection instead of REST API.
  30. #
  31. # cluster = "http://localhost:6041"
  32. # native endpoint to connect to the cluster.
  33. # Default is disabled. To enable it, set it to the native API URL like "taos://localhost:6030" and uncomment it.
  34. # If you enable it, you will get more performance for data migration tasks.
  35. # If modify this config item, you must relogin to clear the cache in browser local storage.
  36. #
  37. cluster_native = "taos://172.21.185.173:6031"
  38. # API endpoint for data replication/backup/data sources. No default option.
  39. # Set it to API URL like "http://localhost:6050".
  40. #
  41. x_api = "http://localhost:6050"
  42. # Please set it to same as the "grpc" parameter used by taosX Service;
  43. # If "grpc" parameter is not set explicitly in taosX service, please set it to the default grpc address of taosX
  44. grpc = "http://localhost:6055"
  45. # CORS configuration switch, it allows cross-origin access
  46. cors = true
  47. # cloud open api.
  48. # cloud_open_api = "https://pre.ali.cloud.taosdata.com/openapi"
  49. # Enable ssl
  50. # If the following two files exist, enable ssl protocol
  51. #
  52. [ssl]
  53. # SSL certificate
  54. #
  55. # certificate = "/path/to/ca.file" # on linux/macOS
  56. # certificate = "C:\\path\\to\\ca.file" # on windows
  57. # SSL certificate key
  58. #
  59. # certificate_key = "/path/to/key.file" # on linux/macOS
  60. # certificate_key = "C:\\path\\to\\key.file" # on windows
  61. # log configuration
  62. [log]
  63. # All log files are stored in this directory
  64. #
  65. # path = "/var/log/taos" # on linux/macOS
  66. # path = "C:\\TDengine\\log" # on windows
  67. # log filter level
  68. #
  69. # level = "info"
  70. # Compress archived log files or not
  71. #
  72. # compress = false
  73. # The number of log files retained by the current explorer server instance in the `path` directory
  74. #
  75. # rotationCount = 30
  76. # Rotate when the log file reaches this size
  77. #
  78. # rotationSize = "1GB"
  79. # Log downgrade when the remaining disk space reaches this size, only logging `ERROR` level logs
  80. #
  81. # reservedDiskSize = "1GB"
  82. # The number of days log files are retained
  83. #
  84. # keepDays = 30
  85. # integrated with Grafana
  86. [grafana]
  87. # The token of the Grafana server, which is used to access the Grafana server.
  88. #token = ""
  89. # The URL of the Grafana dashboard, which is used to display the monitoring data of the TDengine cluster.
  90. # You can configure multiple Grafana dashboards.
  91. [grafana.dashboards]
  92. #TDengine3 = "http://localhost:3000/d/000000001/tdengine3"
  93. #taosX = "http://localhost:3000/d/000000002/taosx"