API Management: Is there any way to disable /status-0123456789abcdef health check under Consumption SKU?

Ian Low 11 Reputation points
2021-07-22T11:31:06.6+00:00

I've created an APIM instance under Consumption SKU and with Application Insights enabled. Noticed that there is a health check request "/status-0123456789abcdef" call every 60 seconds and returned with 404 error. This causes some unnecessary cost to Application Insight / Log analytics.

Is there anyway i can stop this help check request "/status-0123456789abcdef"? Or is there anyway i can make application insight not to track any request to "/status-0123456789abcdef"?

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,770 questions
{count} votes

4 answers

Sort by: Most helpful
  1. ABorremans 11 Reputation points
    2022-01-25T15:31:02.78+00:00

    I ran into the same exact problem with several of our consumption-based APIM instances. To make matters even more mysterious, these requests were coming from Azure data center IPs from all around the world.

    After a lot of digging, and failed attempts to fix the problem, it turned out this was caused by Availability Tests that are part of Application Insights that we associate with our APIM instances.

    If you open the Application Insights resource that is associated to your consumption-based APIM instance in the Azure Portal. Then open the 'Availability' blade under 'Investigate'. You will see where a default availability test, using the /status-0123456789abcdef endpoint. To fix the issue, it looks like you can delete, disable, or update the availability test to hit a valid endpoint. From what I can tell, Application Insights sets this up automatically when you associate it to your APIM instance.

    Here is a link to the MS docs for configuring the availability tests:

    https://learn.microsoft.com/en-us/azure/azure-monitor/app/monitor-web-app-availability

    168412-inkedavailbilitytests-blurred-li1.jpg

    2 people found this answer helpful.

  2. Arun Palaniappan 11 Reputation points
    2022-01-18T18:53:41.733+00:00

    Any updates on this were you able to disable this, we are facing the same issue.

    1 person found this answer helpful.
    0 comments No comments

  3. Oscar SR 1 Reputation point
    2021-10-30T20:55:20.08+00:00

    Hello,

    I would also like to know if you have an answer to this issue.

    Thanks!

    0 comments No comments

  4. Oscar SR 1 Reputation point
    2022-01-18T20:20:46.017+00:00

    Hi,

    Because it was a test, I only deleted it and created the APIM again.

    0 comments No comments