Loading src/device/service/MonitoringLoops.py +1 −1 Original line number Diff line number Diff line Loading @@ -144,7 +144,7 @@ class MonitoringLoops: try: self._monitoring_client.IncludeKpi(Kpi(**{ 'kpi_id' : {'kpi_id': {'uuid': db_kpi.kpi_uuid}}, 'timestamp': datetime.utcfromtimestamp(timestamp).isoformat() + 'Z', 'timestamp': datetime.utcfromtimestamp(timestamp.timestamp).isoformat() + 'Z', 'kpi_value': {kpi_value_field_name: kpi_value_field_cast(value)} })) except: # pylint: disable=bare-except Loading Loading
src/device/service/MonitoringLoops.py +1 −1 Original line number Diff line number Diff line Loading @@ -144,7 +144,7 @@ class MonitoringLoops: try: self._monitoring_client.IncludeKpi(Kpi(**{ 'kpi_id' : {'kpi_id': {'uuid': db_kpi.kpi_uuid}}, 'timestamp': datetime.utcfromtimestamp(timestamp).isoformat() + 'Z', 'timestamp': datetime.utcfromtimestamp(timestamp.timestamp).isoformat() + 'Z', 'kpi_value': {kpi_value_field_name: kpi_value_field_cast(value)} })) except: # pylint: disable=bare-except Loading