ApplicationInsights-dotnet icon indicating copy to clipboard operation
ApplicationInsights-dotnet copied to clipboard

cloud_RoleName not populated for some log types

Open auslavs opened this issue 2 years ago • 0 comments

  • 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 *.csproj file): 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

image

auslavs avatar May 03 '23 06:05 auslavs