Weak application integration

I recently started using application knowledge using a web api.

It will be useful to configure application information to publish error messages in a weak channel.

I saw that there is a Slabin connector, but I'm not sure how to use it. I think this can be solved with the help of a sagging connector and an azure logical application, any tips? textbooks?

+6
source share
5 answers

You can take a look at this link: https://github.com/Azure/azure-quickstart-templates/tree/master/201-alert-to-slack-with-logic-app . I followed the instructions and it worked for me.

The difficulty is that you need to click the "Deploy to Azure" button on this links page. It will redirect you to the Azure portal, and you will need to indicate which channel you want to send an alert to, for example. #somechannel. Do not use a direct message like @yourname, it has problems with this, and the logic application cannot be deployed for me.

Then simply follow the instructions to find the deployed logic application and authenticate it by logging into Slack. And you also need to get the URI of the logical application from the deployment results, as in the instructions. Once you put the URI in the alert, you're ready to go!

+5
source

It is relatively easy to set up a weak webhook.

There's a pretty good C # nuget package for https://github.com/nerdfury/Slack.Webhooks

Despite the fact that you will need to configure a separate service for polling and routing data with information about applications.

There are also commercial options.

getcloudbot.com lets you connect your Azure Application Insight application package directly to your slack channel. It is good to stay on top of your services. Disclaimer: I run it.

+4
source

You can set up an alert for error messages https://azure.microsoft.com/en-us/documentation/articles/app-insights-alerts And then configure sending to Slack using web hooks: https: //code.msdn .microsoft.com / Create-Azure-Alerts-with-b938077a

0
source

Another quick fix for this, unrelated to additional code or a logical application, is to set up Slack email integration, which provides you with an incoming email address for this channel. You can use this in Application Insights in the Additional Administrator Email Addresses field.

This is not ideal, since in reality you are not getting many details in the message, but it will notify you and give the name of the warning.

0
source

The easiest way I found for integration was to use an application called Slack Email, which sends email alerts to Slack. After you sign up for this notification email identifier in Application Insights, it will start sending messages on the specific channel with which you have associated the email. https://teamesub.slack.com/apps/A0F81496D-email

0
source

Source: https://habr.com/ru/post/1245749/


All Articles