4

We are using Azure APIM in production.

We are developing service detail page where if it is not available, will update the page.

So i would like to know how to check health check for APIM?

In most of the case, it will be case of 502/503/504 http status code.

Manish Joisar
  • 1,256
  • 3
  • 23
  • 47

1 Answers1

2

While at the request level, you could get a 5xx response for several reasons like the incorrect policies or backend failures.

For APIM itself, there are regional status endpoints that you can use which are described in the APIM multi-region deployment doc. Here is how it looks for reference

https://<service-name>-<region>-01.regional.azure-api.net/status-0123456789abcdef

Example from the docs

https://contoso-westus2-01.regional.azure-api.net/status-0123456789abcdef
PramodValavala
  • 6,026
  • 1
  • 11
  • 30
  • Thanks Pramod for your reply. so you mean to say to check the current status of our APIM service, as we are using custom domain, we should configure Traffic manager and then i should the the status ? – Manish Joisar Apr 23 '20 at 07:22
  • 1
    @ManishJoisar You can also get details in the response body by using following URL: https://--01.regional.azure-api.net/internal-status-0123456789abcdef – Markus Meyer May 28 '21 at 07:31