Azure Application Insights - can I monitor the whole stack (sql, webapp, queues, logs of webapp and external APIs)?

Maciej Skorupka 0 Reputation points
2024-07-12T19:59:26.94+00:00

Hi!

I'm quite faimiliar with ELK stack, grafana and similar but I have no idea about Application Insights. I'm trying to find out if there's an option to use Application Insights as a one tool to monitor my whole app (webapp metrics + logs, service bus, sql) in Azure. To have one place where I see everything about my webapp.

Does Application Insights provide a way to:

  1. check CPU, disks and similar basic stuff for webapp
  2. basic metrics for DB and service bus
  3. show all the 400-599 http responses
  4. service bus queues/topics status - if there are more messages than some threshold, are there messages older than threshold, does DLQ have messages etc
  5. how many records there are in DB for specific select (for instance checks whether there are some old orders waiting etc)
  6. count entries in webapp logs to look for instance how many specific events happened
  7. invoke external API and show the status of that

Or maybe there's some better tool in azure for this purpose?

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,018 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,367 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Luke Murray 10,896 Reputation points MVP
    2024-07-13T09:01:25.9433333+00:00

    Hi, Maciej

    Application Insights can bring in some of this information, but it does require some coding built into the application with the Application Insights SDK, for full tracing.

    1. check CPU, disks and similar basic stuff for webapp - System performance counters in Application Insights
    2. basic metrics for DB and service bus - Distributed tracing and correlation through Service Bus messaging
    3. show all the 400-599 http responses
    4. service bus queues/topics status - if there are more messages than some threshold, are there messages older than threshold, does DLQ have messages etc - Enable Azure Monitor OpenTelemetry for .NET, Node.js, Python, and Java applications
    5. how many records there are in DB for specific select (for instance checks whether there are some old orders waiting etc)
    6. count entries in webapp logs to look for instance how many specific events happened
    7. invoke external API and show the status of that

    Then, anything that gets logged to a Log Analytics workspace, you can have

    0 comments No comments