Refine
This commit is contained in:
@@ -1030,10 +1030,10 @@ def store_realtime_simulation_result_to_influxdb(node_result_list: List[Dict[str
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
if client.ping():
|
if client.ping():
|
||||||
print("{} -- Successfully connected to InfluxDB.".format(
|
print("{} -- store_realtime_simulation_result_to_influxdb : Successfully connected to InfluxDB.".format(
|
||||||
datetime.now().strftime('%Y-%m-%d %H:%M:%S')))
|
datetime.now().strftime('%Y-%m-%d %H:%M:%S')))
|
||||||
else:
|
else:
|
||||||
print("{} -- Failed to connect to InfluxDB.".format(
|
print("{} -- store_realtime_simulation_result_to_influxdb : Failed to connect to InfluxDB.".format(
|
||||||
datetime.now().strftime('%Y-%m-%d %H:%M:%S')))
|
datetime.now().strftime('%Y-%m-%d %H:%M:%S')))
|
||||||
|
|
||||||
# 开始写入数据
|
# 开始写入数据
|
||||||
|
|||||||
Reference in New Issue
Block a user