In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
The previous blog post introduced you to what Application Insights is and how to use Application Insights to monitor the usability of a website. So today we will discuss with you how to use the Application Performance Monitoring (APM) feature in Application Insights to monitor the performance of your application. Unlike the website usability monitoring described earlier, APM can monitor applications running in cloud and local data centers, as long as applications can use HTTP to send data to Application Insights workspaces.
Using Application Performance Monitoring, you can monitor the following data for your application:
Request rate, response time, and failure rate: help us understand the most popular pages, periods, and the location of users. See which pages work best. When there are more requests, if the response time is long and the failure rate is high, there may be resource problems. Dependency rate, response time, and failure rate: find out if external services are slowing down. Exception: analyze aggregated statistics, or select a specific instance and drill for stack traces and related requests. Report server and browser exceptions. Page views and load performance: reported by the user's browser. AJAX calls (from web pages): rate, response time, and failure rate. User and session count. Performance counters in Windows or Linux server computers, such as CPU, memory, and network usage. Host diagnostics in Docker or Azure. Diagnostic trace logs in the application: trace events can be associated with requests. Custom events and metrics written by yourself in client or server code to track business events. Such as goods sold, etc.
Recall that we took a screenshot in the Web usability monitor that showed only the data in the usability monitor. Now let's take a look at how to populate other monitoring items with data:
Because our website is a WordPress site, we can directly use the WordPress AppInsights plug-in to configure site monitoring. This is an open source plug-in hosted on Github.
Install the Application Insight plug-in
Log in to the Wordpress backend, click "plug-ins"-"add plug-ins", and search for "Application Insights":
When the plug-in installation is complete, click enable:
Switch to the Application Insights we created earlier, find the corresponding link key, and copy it:
In the wordpress background, click "Settings"-"Application Insights", then enter the link key we just copied, and click Save:
After a few minutes, we can see that other monitoring dashboards in Application Insights also have the corresponding data:
Instrument panel
The above dashboard can be found in Application Insights's "Overview"-"Application Dashboard":
A failed request
In the dashboard, you can see that some of our requests failed:
As mentioned earlier, clicking on the magnet will open a separate page in ApplicationInsight to display detailed information, and you can see that we have requests for 404 and 301 on some pages:
Clicking the tiny count number (6 in the image above) or the "Drill into" button at the bottom will open a new blade in which we can click on all errors, which is very useful for us to locate the problem with the application.
Intelligent detection
Intelligent detection uses machine learning to tell us everything from memory leaks to performance problems, tracking degradation and other fault anomalies.
There are intelligent detection settings under "Investigate"-- "Smart Detection"-- "Settings":
We can enable / disable the corresponding detection settings by clicking on the specific settings:
Using: number of users and user stream
Under use, you can check or set up a lot of content, such as tracking the user's usage flow from one page to another.
Under users, you can track the user count for any or all pages and get the browser and operating system used to access the site.
We can also use "user flow" to see where users are visiting within the site. Click "user flow"-"Edit", and then make the appropriate settings:
After saving, we can see a cool icon. Change the chart to show the three steps in front of the selected page and the three steps after the selected page:
Using user flow, we can really understand which pages attract traffic to other pages.
So far, we've talked a lot about the highlights of Application Insights. In addition, there are actually features such as Application Map, which are very similar to Service Map and APM in Azure Monitor. We will share the details with you in the following blog.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.