Channels
pacc-may-31-2023
prefect-ai
pacc-clearcover-june-12-2023
marvin-in-the-wild
data-ecosystem
geo-israel
geo-japan
prefect-cloud
ppcc-may-16-2023
prefect-azure
prefect-docker
prefect-recipes
gratitude
geo-nyc
geo-bay-area
geo-boston
geo-london
geo-dc
geo-chicago
geo-berlin
geo-texas
geo-seattle
geo-colorado
prefect-community
data-tricks-and-tips
prefect-aws
prefect-gcp
introductions
find-a-prefect-job
prefect-dbt
random
events
ask-marvin
show-us-what-you-got
prefect-getting-started
prefect-integrations
prefect-contributors
best-practices-coordination-plane
announcements
prefect-server
prefect-ui
prefect-kubernetes
Powered by
Title
r
Rio McMahon
12/09/2022, 2:44 PM
Within prefect 1.0 is it possible to have multiple slack webhook URLs for different slack channels? e.g. we want to delineate between data engineering and data science prefect alerts (different alerting channels for each). Looking at the docs:
https://docs-v1.prefect.io/core/advanced_tutorials/slack-notifications.html#installation-instructions
it seems like there is only one secret per account called
"SLACK_WEBHOOK_URL"
.
✅ 1
Looking at this - looks like we can pass in the name of the prefect secret here:
https://github.com/PrefectHQ/prefect/blob/e6bd04abb5580eb79bde12b9ad3845e9f1d1479c/src/prefect/utilities/notifications/notifications.py#L253
🙌 1
m
Mason Menges
12/09/2022, 6:06 PM
Yep, passing them in as secrets in the notifier should work completely fine, they don't have to have the SLACK_WEBHOOK_URL name for it to function 😄
✅ 1
8 Views
#prefect-community
Join Slack