This commit is contained in:
DingZQ
2025-01-31 13:56:24 +08:00
parent 45025e9988
commit ad99d75548

View File

@@ -55,7 +55,7 @@ redis_client = redis.Redis(host="localhost", port=6379, db=0)
influx_url = "http://localhost:8086" # 替换为你的InfluxDB实例地址
influx_token = "xGDM5RZqRJAuzAGS-otXUdC2NFdY75qJAjRLqAB4p5WcIIAlIUpOpT8_yA16AOHmJWerwQ_08gwb84sy42jnZQ==" # 替换为你的InfluxDB Token
influx_org_name = "TJWATERORG" # 替换为你的Organization名称
influx_client = InfluxDBClient(url=url, token=token, org=org_name)
influx_client = InfluxDBClient(url=influx_url, token=influx_token, org=influx_org_name)
# 配置日志记录器
logging.basicConfig(level=logging.INFO)