0
votes

I'm running a simple query in Azure Application Insights:

exceptions 
| where type == "Sitecore.XConnect.Operations.FacetOperationException"

(the exact details of the exception are not relevant here, it could be any exception).

Say my site/services consist of numerous App Services and other Azure resources, is there some way to indicate in the query results which App Service the error originated from?

1

1 Answers

0
votes

Your best bet is inspecting the value of the cloud_RoleName field. It is populated with resource name, for example the app service name. This works for most resources. cloud_RoleInstance can also help in identifying the azure resource.

If those fields are not populated out-of-the-box for a workload you can set them using code if needed using the AI SDK.