Analysing Application Performance and Usage
This lesson explains how to read performance, failures and usage in Application Insights.
Learning outcomes
After completing this lesson, you will be able to:
- Interpret request, failure and response measures.
- Explain why percentiles are preferred.
- Use the Failures and Performance views.
- Identify usage analysis tools.
Key measures
Three measures describe the health of a request-based application: request rate, failure rate and response time. Read together, they tell a story. A rising response time with constant traffic suggests a slow dependency or a defect. A rising response time with rising traffic suggests a capacity limit. A sudden increase in failures just after a deployment suggests the release.
Response time should be read as a percentile. An average of 200 milliseconds can hide the fact that 5% of users wait for several seconds. The 95th percentile (P95) means that 95% of requests are faster than the value, so it describes the experience of slower users, who are often those with the largest orders or most data.
The following diagram sketches average and 95th-percentile response times around a release.

Reading the three key measures together
Application performance views
Application Insights provides several connected views, and a typical investigation moves from general to specific.
Failures view
The Failures view lists failed operations, response codes and exception types, and it lets you drill into a sample. It answers what is failing, and how often.
Performance view
The Performance view lists operations by count and duration. Selecting an operation shows a distribution of durations, and which dependencies contribute to it.
Live Metrics
Live Metrics shows requests and failures in near real time, which is useful while a deployment is in progress.
Search
The Search view finds individual telemetry items, such as all events for one user or one request.
Smart detection
Smart detection uses machine learning to warn about unusual increases in failures or degraded response times, with no thresholds to set.
Which Application Insights view?
Usage analysis
Usage analysis shows how people use an application, which informs product decisions and proves whether a feature had value. The following tools are built on page view and custom event data.
| Tool | Question answered |
|---|---|
| Users, sessions and events | How many people use it, and how often? |
| Funnels | Where do users drop out of a multi-step process? |
| Retention | How many users come back? |
| User flows | Which paths do users take through the application? |
| Cohorts | How does a defined group behave? |
Custom events give the most useful data, for example recording that a checkout was completed. With feature flags, telemetry can compare behaviour between variants, which is the measurement behind an A/B test.
Usage analysis tools
Comparing before and after a release
A release decision should use evidence. A query can compare a measure before and after a deployment time, and annotations show when each release occurred. If roles are set in telemetry, such as the cloud role name for each service, then results can be separated by component. Filtering by application version compares versions running side by side during a canary.
Evidence for a release decision
Separating causes
Application Insights shows that the P95 response time doubled at 14:00 today, while the request rate was unchanged. A release was deployed at 13:55. The average response time rose by only 5%. What should you do?
The timing and the unchanged request rate point to the release, not to load. Open the Performance view for the slowest operations and compare their dependencies, then decide whether to roll back. The small change in the average shows why percentiles are needed: a small group of requests got much slower. Adding instances would not help when traffic has not increased.
What does a P95 of 900 milliseconds mean?
Show answer
95% of requests finish within 900 milliseconds, so 5% take longer.
Exam Tips
Remember for the exam
- Read request rate, failure rate and response time together.
- Use percentiles for latency, since averages hide slow requests.
- Failures shows what fails; Performance shows what is slow.
- Funnels and retention are usage analysis tools.
- Unchanged traffic with worse latency points to a change, not to load.