The Microsoft Azure Search Service API exposes a query latency metric that refers to how long it takes for an Azure Search service to respond to search requests. You can generally expect this number to remain low and steady. Blue Matador can determine when this is not the case by watching the SearchLatency metric, and creates events when the latency is anomalous.

    In general, anomalous latency are not a cause for concern and are mostly useful for correlation with other issues in your infrastructure. Anomalous latency can occur for any of the following reasons:

    • Increased number of search queries. 
    • Incorrectly configured search index.
    • Insufficient number of partitions.
    • Expensive query operation (ex: prefix wildcards)

    If you determine that the difference in latency is significant, look into your services that utilize azure search services and the search service configuration.