How to get RU of a query in Dependencies through Application Insights Analytics Tool?

325 views Asked by At

I want to find RU of each query through application insight analytics tool. I've run the following query:

dependencies
| where type == "Azure DocumentDB"

But there is no sign for RU of the run query. Also, there is not any thing in customDimensions column:

enter image description here

I should have mentioned that there is a duration column which is not my answer.

1

There are 1 answers

0
Matias Quaranta On

First, you might want to turn on HeaderTelemetry.

Then you can probably join the dependencies and requests tables like so:

dependencies | where type == "Azure DocumentDB" | join (
   requests 
) on operation_Id  

According to the docs, operation_Id is the field to correlate.

The response headers should be on the customDimensions attributes.