Reputation: 5264
I scaled out like 2 instances of Azure App Service that hosts my web app.
Now, there are 3 instances running the same thing.
I need to know every response returned by every instance.
How do I know which instance I am calling?
Upvotes: 1
Views: 1232
Reputation: 58951
You are probably looking for the WEBSITE_INSTANCE_ID
Environment variable:
the id representing the VM that the site is running on (If site runs on multiple instances, each instance will have a different id).
Upvotes: 4