diff --git a/ops/myinflux.py b/ops/myinflux.py index 82c8876..00aee9b 100644 --- a/ops/myinflux.py +++ b/ops/myinflux.py @@ -4,7 +4,7 @@ from influxdb import InfluxDBClient, exceptions from config.config_real import My_influx log = logging.getLogger(__name__) - +import pdb class Myinflux: def __init__(self): @@ -15,6 +15,7 @@ class Myinflux: def _write(self, body): try: + pdb.set_trace() self.influxdb.write_points(body) print(f"write {body} 2 influx!") return True