File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
mlrun/model_monitoring/db/tsdb/tdengine Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -1057,7 +1057,6 @@ def build_metric_objects() -> (
10571057 ]
10581058 ):
10591059 metric_objects = []
1060-
10611060 if not df_results .empty :
10621061 df_results .rename (
10631062 columns = {
@@ -1069,7 +1068,9 @@ def build_metric_objects() -> (
10691068 metric_objects .append (
10701069 mm_schemas .ApplicationResultRecord (
10711070 time = datetime .fromisoformat (
1072- row [mm_schemas .WriterEvent .END_INFER_TIME ]
1071+ row [mm_schemas .WriterEvent .END_INFER_TIME ].replace (
1072+ " +" , "+"
1073+ )
10731074 ),
10741075 result_name = row [mm_schemas .ResultData .RESULT_NAME ],
10751076 kind = row [mm_schemas .ResultData .RESULT_KIND ],
@@ -1089,7 +1090,9 @@ def build_metric_objects() -> (
10891090 metric_objects .append (
10901091 mm_schemas .ApplicationMetricRecord (
10911092 time = datetime .fromisoformat (
1092- row [mm_schemas .WriterEvent .END_INFER_TIME ]
1093+ row [mm_schemas .WriterEvent .END_INFER_TIME ].replace (
1094+ " +" , "+"
1095+ )
10931096 ),
10941097 metric_name = row [mm_schemas .MetricData .METRIC_NAME ],
10951098 value = row [mm_schemas .MetricData .METRIC_VALUE ],
You can’t perform that action at this time.
0 commit comments