Sends a daily summary of metrics, scores and alerts.
This commit adds a new function called send_df to the send.py file in the anomstack.alerts module. The send_df function allows sending alerts with a DataFrame using the specified alert methods, such as email and Slack. The function takes a title, a DataFrame, and optional parameters like alert methods and description. It converts the DataFrame to HTML and sends the alert using the specified methods.
Sends a daily summary of metrics, scores and alerts.
This commit adds a new function called
send_df
to thesend.py
file in theanomstack.alerts
module. Thesend_df
function allows sending alerts with a DataFrame using the specified alert methods, such as email and Slack. The function takes a title, a DataFrame, and optional parameters like alert methods and description. It converts the DataFrame to HTML and sends the alert using the specified methods.