question

FelixMller-2336 avatar image
0 Votes"
FelixMller-2336 asked AnuragSingh-MSFT commented

Application Insights Availability Test Cloud Role Name

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.

190947-appinsights-availability.png


azure-monitor
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@FelixMller-2336, Apologies for the delayed response.
I am reching out to the team for this information and I will get back to you as soon as possible with an update.

1 Vote 1 ·

@FelixMller-2336, I apologize for the time it is taking. Our team is looking into it, and I should have an update in the next few days. Thank you

1 Vote 1 ·

1 Answer

AnuragSingh-MSFT avatar image
0 Votes"
AnuragSingh-MSFT answered AnuragSingh-MSFT commented

Hi @FelixMller-2336,

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 Docs 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.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @AnuragSingh-MSFT ,

thank you for your perseverance and coming back with the answer.

Basically, what we are doing is running a backend service with Application Insights enabled. In addition to the internal telemetry we set up a web test per service to monitor its availability from external sites. Each service has its own "Cloud role name", so it would have been useful to us to filter availability results by this field.

However, if this is currently not possible, then we can find other ways to correlate the results.

Thank you again for investigating. Best regards from Germany,


Felix

0 Votes 0 ·

@FelixMller-2336, thank you for your kind words.

0 Votes 0 ·