Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Performance tile showing different records for same method

Currently in Performance tile in Insight we have performance detail for the application request.

If we have an API like:

GET /order/{orderId}

so, for this kind of request, it showing as different request and matrix is also different for different orderId.

But for the owner point of view, this is a same request and needs to have shown under one request for all call for this method.

For the above mentioned API, if we have the request coming as:-

/order/1

/order/2

/order/3

Then in Azure portal, under performance tile for Application insight, it consider this as different operations and hence show stats individually for each unique request. But as per the developer, this is a single API and needs to monitor as single operation.

How to achieve this in Azure portal?

enter image description here

like image 543
Sandeepjn Avatar asked Jan 25 '26 10:01

Sandeepjn


1 Answers

In the Performance tab, you have the ability to add filters for your results but in your scenario I would:

  • Click on View in Logs (Analytics)
  • Select Requests
  • Add an appropriate contains statement: | where operation_Name contains "GET /order"

At this point the Overall line contains the total Duration Average and Count shown in the Performance tab, as well as percentile information for all orders.

Navigating to View in Logs (Analytics)

Consolidated information shown

like image 103
kobulloc Avatar answered Jan 27 '26 00:01

kobulloc



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!