ApplicationInsights-dotnet
ApplicationInsights-dotnet copied to clipboard
cloud_RoleName not populated for some log types
-
List of NuGet packages and version that you are using: Microsoft.ApplicationInsights.AspNetCore 2.21.0
-
Runtime version (e.g. net461, net48, netcoreapp2.1, netcoreapp3.1, etc. You can find this information from the
*.csprojfile): net6.0 -
Hosting environment (e.g. Azure Web App, App Service on Linux, Windows, Ubuntu, etc.): Azure App Service
Describe the bug
When reviewing the logs in Application Insights cloud_RoleName and cloud_RoleInstance are logged correctly for traces and dependencies. For exceptions and requests cloud_RoleName is not logged at all and cloud_RoleInstance is logged, but contains a ".(none)" suffix
