205k views
2 votes
In developing an app and intending to monitor performance using Azure Monitor, you aim to identify the time it takes for the app to access an Azure Redis Cache and how it influences the app's response time. Which API method should you use?

A. TrackEvent
B. TrackException
C. TrackDependency
D. TrackRequest
E. TrackTrace

1 Answer

0 votes

Final answer:

Use the TrackDependency API method to monitor the performance of an app accessing an Azure Redis Cache and its impact on app response time.

Step-by-step explanation:

To monitor the performance of an app accessing an Azure Redis Cache and its impact on the app's response time using Azure Monitor, you should use the TrackDependency API method. The TrackDependency method is designed to log interactions that your application has with external components such as databases, file systems, or caches like Azure Redis Cache. By utilizing this method, you can record how long these dependencies take to execute and how they affect overall response times.

User Eek
by
7.6k points