Application Insights Availability Test Cloud Role Name

Felix Müller 41 Reputation points

Is there a way to associate an availability test with an application via Cloud Role Name? If so, which properties are required when provisioning the test via ARM template? We see that the filtering options are available, but none of our webtests have the attribute set (also checked via log query "availabilityResults | where cloud_RoleName <> '';). It would be helpful to use this attribute for filtering and correlating with other entities.


Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,922 questions
{count} votes

Accepted answer
  1. AnuragSingh-MSFT 20,986 Reputation points

    Hi @Felix Müller ,

    Apologies for the delayes response. Pleae find below the answer to your question:

    Unfortunately, setting the "Availability Cloud role name/instance" fields for availability tests are not available currently. Both “cloud_RoleInstance” and “cloud_RoleName” are common fields to all tables in Application Insights workspace (e.g. “requests”, “dependencies”). Availability Tests currently do not populate those fields. Also, it not sure how it would help even if they were populated (as those values would correspond to the cluster instances where availability tests are run from within Microsoft datacenters).

    Regarding "correlating with other entities", it is done via "operationId" to correlate various telemetry (for example, requests). Please refer: Azure Application Insights telemetry correlation - Azure Monitor | Microsoft Learn The results obtained from AvailabilityTest would not fit in this context, as they would not be part of such operation/transaction.

    Please let us know if you have any questions.

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

0 additional answers

Sort by: Most helpful