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

explorer.toml 3.2KB

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