hudo_assenco
03/09/2023, 3:59 PMjan_soubusta
03/09/2023, 4:33 PMjan_soubusta
03/09/2023, 4:35 PMjan_soubusta
03/09/2023, 4:35 PMhudo_assenco
03/09/2023, 4:37 PMaaronsteers
03/09/2023, 7:17 PMaaronsteers
03/09/2023, 7:18 PMaaronsteers
03/09/2023, 7:20 PMHey everyone, I was looking into sending a slack notification with the dbt test output whenever a test fails.
Thanks, my bet so far is to create a utility plugin with Meltano EDK and the Slack python SDK.For this use case, it would be really cool to have a
Slack Messaging or Apprise utility on the Hub. Could be a refactored version of target-apprise that just take an input file (or STDIN text?) rather than a Singer stream....visch
03/09/2023, 9:18 PM```apprise -vv -t 'my title' -b 'my notification body' \
'//myemail' \
'pbul://o.gn5kj6nfhv736I7jC3cj3QLRiyhgl98b'```😄 OR
import apprise
# Create an Apprise instance
apobj = apprise.Apprise()
# Add all of the notification services by their server url.
# A sample email notification:
apobj.add('<mailto://myuserid:mypass@gmail.com>')
# A sample pushbullet notification
apobj.add('<pbul://o.gn5kj6nfhv736I7jC3cj3QLRiyhgl98b>')
# Then notify these services any time you desire. The below would
# notify all of the services loaded into our Apprise object.
apobj.notify(
body='what a great notification service!',
title='my notification title',
)