You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed with @izeigerman via Slack, currently Slack notifications only support plans, but not runs and possibly audits. It would be good to be able to receive notifications for those events as well.
In addition, as a feature suggestion, it might be desirable in future releases to filter the notification target by model tags in order to reduce alerting fatigue for larger teams.
E.g. I imagine being able to configure something like
notification_targets=[
# plans are sent to a specific channels regardless of tagsSlackApiNotificationTarget(
notify_on=PLAN_EVENTS,
token=os.getenv("SLACK_API_TOKEN"),
channel="UXXXXXXXXX", # Channel ID of #data-sqlmesh-deploys-prd
),
# runs and audit failures for the marketing team's modelsSlackApiNotificationTarget(
notify_on=RUN_AND_AUDIT_FAIL_EVENTS,
token=os.getenv("SLACK_API_TOKEN"),
channel="UXXXXXXXXX", # Channel ID of #data-marketing-alerts-prdinclude_tags=["team:marketing"]
),
# runs and audit failures for the data platform team's modelsSlackApiNotificationTarget(
notify_on=RUN_AND_AUDIT_FAIL_EVENTS,
token=os.getenv("SLACK_API_TOKEN"),
channel="UXXXXXXXXX", # Channel ID of #data-platform-alerts-prdinclude_tags=["team:data_platform"]
)
]
Where team:data_platform and team:marketing are tags applied in the models DDL
The text was updated successfully, but these errors were encountered:
As discussed with @izeigerman via Slack, currently Slack notifications only support plans, but not runs and possibly audits. It would be good to be able to receive notifications for those events as well.
In addition, as a feature suggestion, it might be desirable in future releases to filter the notification target by model tags in order to reduce alerting fatigue for larger teams.
E.g. I imagine being able to configure something like
Where
team:data_platform
andteam:marketing
are tags applied in the models DDLThe text was updated successfully, but these errors were encountered: