pantryfight
pantryfight

Reputation: 358

How can I health check probe an Azure Search service without using Azure Traffic manager?

I am using Azure Search and have search services set up in multiple regions for high availability. I would like to poll/probe the health of the services using an external load balancer to ensure that I am serving only healthy instances. What is the best way to do this with Azure Search? Is there a URL endpoint that I can poll for this?

I see in this article https://learn.microsoft.com/en-us/azure/search/search-performance-optimization that Azure Traffic Manager can be set up to probe the search services, is there a way I can probe them without using this?

Upvotes: 1

Views: 752

Answers (1)

Steve Maine
Steve Maine

Reputation: 101

You could create a canary index with no documents and query it periodically; that should successfully return zero documents every time.

Upvotes: 2

Related Questions