Skip to content

Commit e03ebd0

Browse files
committed
Remove unnecessary conversion of 'metric_timestamp' to datetime in llmalert job
1 parent 170f14d commit e03ebd0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

anomstack/jobs/llmalert.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ def llmalert(context, df: pd.DataFrame) -> pd.DataFrame:
155155
left_on="metric_timestamp",
156156
right_on="anomaly_timestamp",
157157
)
158-
df_metric['metrics_timestamp'] = pd.to_datetime(df_metric['metric_timestamp'])
159158

160159
# if there are detected anomalies set metric_alert to 1 if it is not already 1
161160
if not df_metric["metric_alert"].any():

0 commit comments

Comments
 (0)