Azure webhook infrastructure for high availability of the webhook functionality that means if Insights is down for sometime, payloads from devops tools should not be missed.
Tip |
---|
Step - by - step guide on how to Install Azure Webhook Infrastructure |
Expand |
---|
title | Step 1: Azure Storage |
---|
|
Image Added |
...
...
Choose Subscription and Resource Group.
|
...
Storage account name: insightswebhookstorage.
|
...
...
Leave Replication as it is.
|
...
Image Added Image Added After clicking create button, a new page will be opened where you can see your storage account deployment. Deployment will take approx. 1 minutes to complete. After completing deployment, click on Go to Resource button to go inside storage account. Click on containers tab in the overview section or select from left menu. Image Added |
...
...
Click on Change access level button and select Container option and click OK.
insightsfailedwebhookevents insightsfunctionapp
Select Public access level as Container for all the containers. Image AddedImage Added |
...
Image Added |
...
as follows: Fill Identifier as Insights(You may change) Select all permissions. Select start time and end time. Click OK button. After clicking OK, Click on Save button to save policy. Repeat
|
...
Image Added |
...
...
...
...
...
...
...
...
...
...
...
...
Image AddedImage Added |
Expand |
---|
title | Step 2: Azure Functions |
---|
|
Image Added |
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
After completing deployment, click on Go to Resource button to go inside function app. Please reference to the images given below
|
...
...
Note: Please do not change the Application Setting Name while adding application settings. |
...
| Name | Value |
---|
1 | WEBSITE_RUN_FROM_PACKAGE | <Zip_URL> | 2 | StorageEndpoint | < Blob Service Endpoint> | 3 | StorageAccountName | < Storage account name> | 4 | StorageAccountKey | < Key> | 5 | WebhookEventContainer | < WebhookEventContainer> | 6 | FailedEventContainer | < FailedEventContainer> | 7 | TimerInterval(Every One Hour) | 0 0 * * * * |
Image AddedImage Added |
...
...
...
...
...
...
...
...
Image AddedClick on InsightsWebhookHandler API and then click on POST operation (automatically added) under all operations. After that, Post operation will be shown in the Frontend section. Click on the highlighted part given in the image. Image Added |
...
...
...
...
Image Added |
...
Image Added |
Expand |
---|
title | Step 4: Configure Webhook |
---|
|
|
...
...
...
...
Image AddedImage Added |
...
...
...
...
Image Added |