Monitoring Instance count for App Services

Piyush Bhatt AIS 6 Reputation points
2021-10-27T16:45:54.267+00:00

Following question was asked and archived. But this answer is obsolete now as the UI has changed.

https://social.msdn.microsoft.com/Forums/azure/en-US/9c1c0633-ceff-493f-be9b-f62f8cb279e2/how-can-i-monitore-the-instance-count-of-an-app-service-plan-on-a-dashboard?forum=windowsazurewebsitespreview

So if you have new steps for how to see [Instance Count] for an app service under [Metrics] or some other way would be helpful to put here.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,976 questions
0 comments No comments
{count} vote

4 answers

Sort by: Most helpful
  1. Neutrino Sunset 21 Reputation points
    2022-07-12T20:29:15.437+00:00

    Jesus Christ what decade is this editor from? After spending 20 minutes trying to upload some images I gave up.

    Anyway, this is possible.

    First realize that instance scaling is a function of the App Service Plan that the App Service runs in.

    1. Then on either the App Service or the App Service Plan that it is hosted in select 'Settings -> Scale Out (App Service Plan)' in the left navigation bar.
    2. From the 'Scale Out' view select 'Run History' from the tab at the top.
    3. Then at the end of the time range selector labelled 'Show data for last' click the ellipsis (three dots ...), then select 'Pin to dashboard'.

    In this manner you can pin the instance count metric to either your default dashboard or any custom dashboard.

    4 people found this answer helpful.

  2. Fabio Peruzzo Barbosa 10 Reputation points
    2023-10-09T10:44:25.73+00:00

    Any update on this? With the new (in preview) automatic scaling rules there is no way see the instance count?

    2 people found this answer helpful.
    0 comments No comments

  3. Grmacjon-MSFT 19,301 Reputation points Moderator
    2021-11-10T20:01:20.567+00:00

    Hi @Piyush Bhatt AIS ,

    You can find the number of instances in an app service plan shows in the upper right-hand corner of the Overview UX for an app service plan:

    148297-azure-instance-count.png

    Beyond that, there isn't a specific metric that shows app service plan instance count. To get an actual instance count metric you have to have an auto-scale rule created for the app service plan. Auto scale rules do have metrics that enable you to track the instance count of the auto-scaled resource (which in this case would be the app service plan).

    Hope that helps. Please let us know if you have further questions.

    Thanks,
    Grace

    ------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept as answer--

    1 person found this answer helpful.

  4. EricaLopez-7502 31 Reputation points
    2022-05-25T16:21:12.427+00:00

    Hello ,

    Is there any solution to this:

    How to monitor Instance count for App Services?

    Thank you.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.