Take the community feedback survey now.

Scott Reed
Apr 25, 2025
  30
(0 votes)

Identifying Spike Requests and Issues in Application Insights

Sometimes within the DXP we see specific Azure App Instances having request spikes causing performance degredation and we need to investigate. I find the performance tab often lacking to narrow down to the specifics of what I want to look at, so this helps me get to the bottom of things easily

Here's some of my easy steps to figure these out

Step 1: Identify Instance

Open Application Insights and navigate to the Monitoring -> Metrics area and set the following filters

Metric: Log-based metrics, Server response time, Avg aggregation

Split by: Cloud role instance

Set the time range (IN UTC) to when the issue occured and keep narrowing it in until you have a 30 minute or so window

Make a note of the affending instance that's causing the issue, in our case 2a9f3a38c4ac and the 10 minute time range (IN UTC) when the issue occured

Step 2: Extract High Performance Bucket Requests

Navigate to the Monitoring -> Logs area and set the following KQL, replacing the INSTANCE with your noted instance. Also in the run area set the time frame in UTC to the 10 minute range noted above

union isfuzzy=true requests
| where cloud_RoleInstance in ("INSTANCE")
| order by duration desc
| take 100
| project timestamp, id, name, url, duration, performanceBucket

This will give you a list you can export to CSV of high requests

Step 3: Viewing Request Details

Now navigate to Investigate -> Transaction Search

Set the filter Event Types = Request and in the search copy and of the id values from our list and search. You can then open the request and drill in to dependency issues or profiler traces, in our case to see a slow Find query

Let me know if you have other easier or fun ways to drill in to these types of issues. 

 

Apr 25, 2025

Comments

Please login to comment.
Latest blogs
A day in the life of an Optimizely OMVP - Opticon London 2025

This installment of a day in the life of an Optimizely OMVP gives an in-depth coverage of my trip down to London to attend Opticon London 2025 held...

Graham Carr | Oct 2, 2025

Optimizely Web Experimentation Using Real-Time Segments: A Step-by-Step Guide

  Introduction Personalization has become de facto standard for any digital channel to improve the user's engagement KPI’s.  Personalization uses...

Ratish | Oct 1, 2025 |

Trigger DXP Warmup Locally to Catch Bugs & Performance Issues Early

Here’s our documentation on warmup in DXP : 🔗 https://docs.developers.optimizely.com/digital-experience-platform/docs/warming-up-sites What I didn...

dada | Sep 29, 2025

Creating Opal Tools for Stott Robots Handler

This summer, the Netcel Development team and I took part in Optimizely’s Opal Hackathon. The challenge from Optimizely was to extend Opal’s abiliti...

Mark Stott | Sep 28, 2025

Integrating Commerce Search v3 (Vertex AI) with Optimizely Configured Commerce

Introduction This blog provides a technical guide for integrating Commerce Search v3, which leverages Google Cloud's Vertex AI Search, into an...

Vaibhav | Sep 27, 2025

A day in the life of an Optimizely MVP - Opti Graph Extensions add-on v1.0.0 released

I am pleased to announce that the official v1.0.0 of the Opti Graph Extensions add-on has now been released and is generally available. Refer to my...

Graham Carr | Sep 25, 2025