Azure APIM : Monitor Alert for APIM Location and Not for APIM Instance

Amit-J 316 Reputation points
2022-12-06T11:17:45.5+00:00

Hi,

I am not able to find a way to setup alert when my APIM location goes down.
We have multi regional deployment in which 1 unit is in eastus and 1 unit in west europe.

The metrics available for alert that can help are capacity (by location) and count/status ( which shows running for apim instance as a whole)

So there is no way to find out if a particular location instance is down.

Whats the work around for this. It is a very basic feature.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,798 questions
Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,750 questions
0 comments No comments
{count} votes

Accepted answer
  1. JananiRamesh-MSFT 21,001 Reputation points
    2022-12-09T06:51:40.13+00:00

    Hi @Amit-J Thanks for reaching out. I had a discussion internally and confirmed that we do not send any alerts on APIM failing over to other regions. But you can use a custom script to keep probing the regional end points (https://<service-name>-<region>-01.regional.azure-api.net) as shown below
    https://<service-name>-<region>-01.regional.azure-api.net/status-0123456789abcdef, and create an alert if the probe fails
    or you can set up an Azure Traffic Manager in front of the APIM with the endpoints to the regional APIM end points and create alerts for the endpoint getting degraded.
    https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-deploy-multi-region#-use-custom-routing-to-api-management-regional-gateways

    Feel free to leave your feedback at APIM feedback page aka.ms/apimwish. Do let me know if you have any queries.

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    0 comments No comments

0 additional answers

Sort by: Most helpful