How to find out 1. # of requests to the microservices per month 2. Average execution time per request

Barik, Monalisa 126 Reputation points
2023-09-13T10:44:59.6+00:00

Hi,

Please let us know how to find out the below estimation in Azure

  1. of requests to the appservices per month

  2. Average execution time per request for the same
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,974 questions
0 comments No comments
{count} votes

Accepted answer
  1. VenkateshDodda-MSFT 25,111 Reputation points Microsoft Employee Moderator
    2023-09-14T09:28:15.7+00:00

    @Barik, Monalisa Thanks for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this.

    Based on the shared information, I have understood that your try to find the total number of requests to an app service and also the Average execution time per request.

    If yes, Azure App Service provides several monitoring options for monitoring resources for availability, performance, and operation. Options such as Diagnostic Settings, Application Insights, Log stream, Metrics, Quotas and alerts, and Activity logs.

    Using the Metrics like you can achieve your requirements.

    1. Requests --> The total number of requests regardless of their resulting HTTP status code.
    2. Response Time --> The time taken for the app to serve requests, in seconds.

    You can refer to this documentation to understand more on different metrics.

    All these metrics can be viewed by aggregates on data (ie. average, max, min, etc), instances, time range, and other filters. Metrics can monitor performance, memory, CPU, and other attributes.

    You can find these metrics under monitoring section in the portal as shown below.

    User's image

    Feel free to reach back to me if you have any further questions on this,

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.