数据解析模块
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

explorer.toml 3.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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 requires REST API for registration/login.
  30. # Use host.containers.internal for bridge network containers to reach host network services.
  31. #
  32. cluster = "http://host.containers.internal:6041"
  33. # native endpoint to connect to the cluster.
  34. # Default is disabled. Native connection from bridge network to host network
  35. # does not work due to TDengine FQDN reconnection mechanism (epset contains 127.0.0.1).
  36. # Keep disabled; REST API is sufficient.
  37. #
  38. # cluster_native = "taos://host.containers.internal:6031"
  39. # API endpoint for data replication/backup/data sources. No default option.
  40. # Set it to API URL like "http://localhost:6050".
  41. #
  42. x_api = "http://localhost:6050"
  43. # Please set it to same as the "grpc" parameter used by taosX Service;
  44. # If "grpc" parameter is not set explicitly in taosX service, please set it to the default grpc address of taosX
  45. grpc = "http://localhost:6055"
  46. # CORS configuration switch, it allows cross-origin access
  47. cors = true
  48. # cloud open api.
  49. # cloud_open_api = "https://pre.ali.cloud.taosdata.com/openapi"
  50. # Enable ssl
  51. # If the following two files exist, enable ssl protocol
  52. #
  53. [ssl]
  54. # SSL certificate
  55. #
  56. # certificate = "/path/to/ca.file" # on linux/macOS
  57. # certificate = "C:\\path\\to\\ca.file" # on windows
  58. # SSL certificate key
  59. #
  60. # certificate_key = "/path/to/key.file" # on linux/macOS
  61. # certificate_key = "C:\\path\\to\\key.file" # on windows
  62. # log configuration
  63. [log]
  64. # All log files are stored in this directory
  65. #
  66. # path = "/var/log/taos" # on linux/macOS
  67. # path = "C:\\TDengine\\log" # on windows
  68. # log filter level
  69. #
  70. # level = "info"
  71. # Compress archived log files or not
  72. #
  73. # compress = false
  74. # The number of log files retained by the current explorer server instance in the `path` directory
  75. #
  76. # rotationCount = 30
  77. # Rotate when the log file reaches this size
  78. #
  79. # rotationSize = "1GB"
  80. # Log downgrade when the remaining disk space reaches this size, only logging `ERROR` level logs
  81. #
  82. # reservedDiskSize = "1GB"
  83. # The number of days log files are retained
  84. #
  85. # keepDays = 30
  86. # integrated with Grafana
  87. [grafana]
  88. # The token of the Grafana server, which is used to access the Grafana server.
  89. #token = ""
  90. # The URL of the Grafana dashboard, which is used to display the monitoring data of the TDengine cluster.
  91. # You can configure multiple Grafana dashboards.
  92. [grafana.dashboards]
  93. #TDengine3 = "http://localhost:3000/d/000000001/tdengine3"
  94. #taosX = "http://localhost:3000/d/000000002/taosx"