Create Web App Timeout Insights

Cataster 641 Reputation points
2021-09-12T17:09:31.38+00:00

We have an urgent request to create insights as follows for timeouts from asp.net web applications hosted on Azure App Service

Date

Time (by at least hour)

API endpoint

Ideally, this would also include a way to distinguish by:

Default API endpoint

API endpoint using filter

This is the first time I work on such a task. What is the best way to go about this? I was looking at Application Insights but I noticed to get started it said something about iiservers. I dont think I have access to the server, can I still generate timeouts somehow by just hitting the web app URL?

I was also looking at this article, and I think a PowerBI report would be nice but please advise ind etails on the best way to go about this task

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,514 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yijing Sun-MSFT 7,086 Reputation points
    2021-09-13T06:21:22.553+00:00

    Hi @Cataster ,

    I suggest you could add javascript sdk

    First you need an Application Insights resource. If you don't already have a resource and instrumentation key, follow the create a new resource instructions.

    Copy the instrumentation key (also known as "iKey") or connection string for the resource where you want your JavaScript telemetry to be sent (from step 1.) You will add it to the or setting of the Application Insights JavaScript SDK.instrumentationKeyconnectionString.

    Add the Application Insights JavaScript SDK to your web page or app via one of the following two options:
    npm Setup JavaScript Snippet
    more details you could refer to below article.


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our  documentation  to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best regards,
    Yijing Sun


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.