Skip to content

Commit d28fc6f

Browse files
committed
Refactor alert.py to update alert type to "anomaly"
1 parent a8a6768 commit d28fc6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

anomstack/jobs/alert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def alert(df_alerts) -> pd.DataFrame:
115115
"metric_batch": metric_batch,
116116
"metric_name": metric_name,
117117
"metric_timestamp": metric_timestamp_max,
118-
"alert_type": "ml",
118+
"alert_type": "anomaly",
119119
**metric_tags.get(metric_name, {}),
120120
}
121121
logger.debug(f"metric tags:\n{tags}")

0 commit comments

Comments
 (0)