Add file influxdb_info and use information from the file

This commit is contained in:
DingZQ
2025-02-08 21:06:59 +08:00
parent d8c8eb1002
commit 6b1b15f28c
7 changed files with 43 additions and 18 deletions

View File

@@ -19,3 +19,10 @@ pg 信息
Port: 5432 (默认)
User: 就是Windows的用户名这台机器也就是 Administrator
Password: 密码为空
influx db 信息
# influxdb数据库连接信息
influx_url = "http://localhost:8086" # 替换为你的InfluxDB实例地址
influx_token = "xGDM5RZqRJAuzAGS-otXUdC2NFdY75qJAjRLqAB4p5WcIIAlIUpOpT8_yA16AOHmJWerwQ_08gwb84sy42jnZQ==" # 替换为你的InfluxDB Token
influx_org_name = "TJWATERORG" # 替换为你的Organization名称
influx_client = InfluxDBClient(url=influx_url, token=influx_token, org=influx_org_name)