antonputra/tutorials

Is it possible to send an alert from AMP to Microsoft Teams with your lambda code?

Epic55 opened this issue · 2 comments

Epic55 commented

Hi, is it possible to send an alert from Amazon Prometheus to Microsoft Teams with your lambda code? i used your Slack configuration, but i set Teams url instead of Slack url. When i try to send your example message in lambda, i receive an error. What could be the reason of an error? or maybe i need to change payload message or code in Lambda.
image

It should be, you need to check message payload and handle errors appropriately.

Epic55 commented

Ok thx